1 // RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm-only %s -verify
2 
3 // rdar://15522601
4 class MyClass {
5  static void meth();
6 };
meth()7 void MyClass::meth() { } // expected-note {{previous}}
8 extern "C" {
_ZN7MyClass4methEv()9   void _ZN7MyClass4methEv() { } // expected-error {{definition with same mangled name as another definition}}
10 }
11