blob: 4e2ecef7d973982296da0c210000095c94c0b721 [file] [log] [blame]
Rafael Espindola5a15b9d2013-04-05 00:52:14 +00001// FIXME: we should be able to put these in the .h file :-(
2// expected-note {{target of using declaration}}
3// expected-note {{using declaration}}
Rafael Espindolac855ce72013-04-04 04:40:17 +00004
5#include "linkage-merge-bar.h"
6
7static int f(int);
8int f(int);
Rafael Espindola5a15b9d2013-04-05 00:52:14 +00009
10static void g(int); // expected-error {{declaration conflicts with target of using declaration already in scope}}
11
12// RUN: rm -rf %t
13// RUN: %clang_cc1 -verify -fmodules -fmodules-cache-path=%t -I %S/Inputs %s