1*67e74705SXin Li // RUN: %clang_cc1 %s -fsyntax-only -verify f(int a)2*67e74705SXin Liint f(int a) { return 0; } // expected-note {{previous definition is here}} 3*67e74705SXin Li int f(int); f(int a)4*67e74705SXin Liint f(int a) { return 0; } // expected-error {{redefinition of 'f'}} 5*67e74705SXin Li 6*67e74705SXin Li // <rdar://problem/6097326> foo(x)7*67e74705SXin Liint foo(x) { 8*67e74705SXin Li return 0; 9*67e74705SXin Li } 10*67e74705SXin Li int x = 1; 11*67e74705SXin Li 12*67e74705SXin Li // <rdar://problem/6880464> g(void)13*67e74705SXin Liextern inline int g(void) { return 0; } // expected-note{{previous definition}} g(void)14*67e74705SXin Liint g(void) { return 0; } // expected-error{{redefinition of a 'extern inline' function 'g' is not supported in C99 mode}} 15