diff options
Diffstat (limited to 'test/CodeGenCXX/duplicate-mangled-name.cpp')
-rw-r--r-- | test/CodeGenCXX/duplicate-mangled-name.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGenCXX/duplicate-mangled-name.cpp b/test/CodeGenCXX/duplicate-mangled-name.cpp index 65bfa22..e57012e 100644 --- a/test/CodeGenCXX/duplicate-mangled-name.cpp +++ b/test/CodeGenCXX/duplicate-mangled-name.cpp @@ -4,7 +4,7 @@ class MyClass { static void meth(); }; -void MyClass::meth() { } +void MyClass::meth() { } // expected-note {{previous}} extern "C" { void _ZN7MyClass4methEv() { } // expected-error {{definition with same mangled name as another definition}} } |