1// RUN: %clang_cc1 -verify %s 2 3// PR12223 4namespace test1 { 5 namespace N { 6 extern "C" void f(struct S*); 7 void g(S*); 8 } 9 namespace N { 10 void f(struct S *s) { 11 g(s); 12 } 13 } 14} 15 16// PR10447 17namespace test2 { 18 extern "C" { 19 void f(struct Bar*) { } 20 test2::Bar *ptr; 21 } 22} 23