1// RUN: rm -rf %t 2// RUN: %clang_cc1 -verify -fmodules -fmodules-cache-path=%t -I %S/Inputs %s 3 4#include "linkage-merge-bar.h" 5 6static int f(int); 7int f(int); 8 9static void g(int); 10// expected-error@-1 {{functions that differ only in their return type cannot be overloaded}} 11// expected-note@Inputs/linkage-merge-foo.h:2 {{previous declaration is here}} 12