brintos

brintos / llvm-project-archived public Read only

0
0
Text · 307 B · 3698aea Raw
11 lines · cpp
1// RUN: clang-import-test -dump-ast -import %S/Inputs/S.cpp -expression %s | FileCheck %s2 3// CHECK: |-EnumDecl4// CHECK-SAME: Inputs/S.cpp:1:1, line:4:1> line:1:6 E5// CHECK: OpaqueWithType 'long'6 7void expr() {8  static_assert(E::a + E::b == 3);9  static_assert(sizeof(OpaqueWithType) == sizeof(long));10}11