blob: 80d95fb222ba71e3324c65fa4043cbc804d5ef92 [file] [log] [blame]
Douglas Gregor3bdc8952009-01-05 19:50:09 +00001// RUN: clang -fsyntax-only -verify %s
2extern "C" {
3 extern "C" void f(int);
4}
5
6extern "C++" {
7 extern "C++" int& g(int);
8 float& g();
9}
10double& g(double);
11
12void test(int x, double d) {
13 f(x);
14 float &f1 = g();
15 int& i1 = g(x);
16 double& d1 = g(d);
17}