mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-02 21:26:05 +00:00
11 lines
314 B
C++
11 lines
314 B
C++
// RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm-only %s -verify
|
|
|
|
// rdar://15522601
|
|
class MyClass {
|
|
static void meth();
|
|
};
|
|
void MyClass::meth() { } // expected-note {{previous}}
|
|
extern "C" {
|
|
void _ZN7MyClass4methEv() { } // expected-error {{definition with same mangled name as another definition}}
|
|
}
|