aboutsummaryrefslogtreecommitdiff
path: root/test/Import/enum/test.cpp
blob: 491c3b7cb60d0ccee808192ef36442f48f681c09 (plain) (blame)
1
2
3
4
5
6
7
8
// 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));
}