Debian Codegraph @

clang/test/Import/enum/test.cpp

raw
1 // RUN: clang-import-test -dump-ast -import %S/Inputs/S.cpp -expression %s | FileCheck %s
2
3 // CHECK: |-EnumDecl
4 // CHECK-SAME: Inputs/S.cpp:1:1, line:4:1> line:1:6 E
5 // CHECK: OpaqueWithType 'long'
6
7 void expr() {
8 static_assert(E::a + E::b == 3);
9 static_assert(sizeof(OpaqueWithType) == sizeof(long));
10 }