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