Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CXX / class / class.local / p4.cpp
blob2852d9627f42e04747f147d2fa2f8dac6af64993
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 void f() {
4 struct X {
5 static int a; // expected-error {{static data member 'a' not allowed in local struct 'X'}}
6 int b;
8 static void f() { }
9 };