reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
// REQUIRES: zlib

// RUN: %clang %s -target x86_64-pc-linux -g -gsplit-dwarf -c -o %t \
// RUN:   -Wa,--compress-debug-sections=zlib-gnu
// RUN: %lldb %t -o "target var s a" -b | FileCheck %s

// CHECK: (const short) s = 47
// CHECK: (const A) a = (a = 42)

struct A {
  long a = 42;
};
extern constexpr short s = 47;
extern constexpr A a{};