diff options
Diffstat (limited to 'test/Import/enum/test.cpp')
-rw-r--r-- | test/Import/enum/test.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/Import/enum/test.cpp b/test/Import/enum/test.cpp index aa68063cb2079..491c3b7cb60d0 100644 --- a/test/Import/enum/test.cpp +++ b/test/Import/enum/test.cpp @@ -1,4 +1,8 @@ -// RUN: clang-import-test -import %S/Inputs/S.cpp -expression %s +// RUN: clang-import-test -dump-ast -import %S/Inputs/S.cpp -expression %s | FileCheck %s + +// CHECK: OpaqueWithType 'long' + void expr() { static_assert(E::a + E::b == 3); + static_assert(sizeof(OpaqueWithType) == sizeof(long)); } |