aboutsummaryrefslogtreecommitdiff
path: root/test/CXX/basic/basic.link/p9.cpp
blob: ecff3eebafeccd986b66dcc40e9464aa5a6fff8b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
// RUN: clang-cc -fsyntax-only -verify %s

// FIXME: This test is woefully incomplete.
namespace N { } // expected-note{{here}}

// First bullet: two names with external linkage that refer to
// different kinds of entities.
void f() {
  int N(); // expected-error{{redefinition}}
}