p9.cpp revision 7984de35644701c0d94336da7f2215d4c26d9f5b
1// RUN: %clang_cc1 -fsyntax-only -verify %s 2 3// FIXME: This test is woefully incomplete. 4namespace N { } // expected-note{{here}} 5 6// First bullet: two names with external linkage that refer to 7// different kinds of entities. 8void f() { 9 int N(); // expected-error{{redefinition}} expected-warning{{interpreted as a function declaration}} expected-note {{replace parentheses with an initializer}} 10} 11