1 // RUN: %clang_cc1 -fsyntax-only -verify %s
5 fn f
; // expected-note {{previous declaration is here}}
8 int g(int x
, int y
= 2);
10 typedef int g_type(int, int);
13 int h(int x
) { // expected-note {{previous definition is here}}
17 float f(int) { } // expected-error{{functions that differ only in their return type cannot be overloaded}}
19 int h(int) { } // expected-error{{redefinition of 'h'}}