Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / SemaCXX / static-initializers.cpp
blob0620f484d9cba5070c70a8462d9107081d278a0d
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // expected-no-diagnostics
3 int f() {
4 return 10;
7 void g() {
8 static int a = f();
11 static int b = f();