Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CXX / basic / basic.link / p9.cpp
blob680c93db2e29a5beb4c8c608b553281a49ffc34c
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 // FIXME: This test is woefully incomplete.
4 namespace N { } // expected-note{{here}}
6 // First bullet: two names with external linkage that refer to
7 // different kinds of entities.
8 void f() {
9 int N(); // expected-error{{redefinition}} expected-warning{{interpreted as a function declaration}} expected-note {{replace parentheses with an initializer}}