Rafael Espindola | 5a15b9d | 2013-04-05 00:52:14 +0000 | [diff] [blame^] | 1 | // 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 Espindola | c855ce7 | 2013-04-04 04:40:17 +0000 | [diff] [blame] | 4 | |
| 5 | #include "linkage-merge-bar.h" |
| 6 | |
| 7 | static int f(int); |
| 8 | int f(int); |
Rafael Espindola | 5a15b9d | 2013-04-05 00:52:14 +0000 | [diff] [blame^] | 9 | |
| 10 | static 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 |