Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CXX / class / class.mem / p5-0x.cpp
blob6061c4c20a675526330a2dcdb2e15a9751353326
1 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
3 int f();
5 struct S
7 int a = f(); // ok
8 int b = g(); // expected-error {{use of undeclared identifier 'g'}}
9 };