Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / SemaTemplate / pragma-ms_struct.cpp
bloba2821c6014955290ad9717be0fc710ff3c452cbd
1 // RUN: %clang_cc1 -fsyntax-only -verify -triple i686-apple-osx10.7.0 %s
2 // expected-no-diagnostics
4 #pragma ms_struct on
6 template<int x> struct foo {
7 long long a;
8 int b;
9 };
10 extern int arr[sizeof(foo<0>) == 16 ? 1 : -1];