summaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/unaligned-duplicated-mangle-name.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-06-03 15:20:48 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-06-03 15:20:48 +0000
commit551c698530debaae81139c7c76a29fb762793362 (patch)
tree547e0e59163c33f2142998714eb5f957e65d1a57 /test/CodeGenCXX/unaligned-duplicated-mangle-name.cpp
parent416ada0f75bab22b084a1776deb229cd4a669c4d (diff)
Diffstat (limited to 'test/CodeGenCXX/unaligned-duplicated-mangle-name.cpp')
-rw-r--r--test/CodeGenCXX/unaligned-duplicated-mangle-name.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/test/CodeGenCXX/unaligned-duplicated-mangle-name.cpp b/test/CodeGenCXX/unaligned-duplicated-mangle-name.cpp
deleted file mode 100644
index a23e6a47ab05..000000000000
--- a/test/CodeGenCXX/unaligned-duplicated-mangle-name.cpp
+++ /dev/null
@@ -1,20 +0,0 @@
-// RUN: %clang_cc1 -triple %itanium_abi_triple -fms-extensions -emit-llvm-only %s -verify
-
-struct A
-{
- int x;
- void foo() __unaligned;
- void foo();
-};
-
-void A::foo() __unaligned
-{
- this->x++;
-}
-
-void A::foo() // expected-error {{definition with same mangled name as another definition}}
- // expected-note@-6 {{previous definition is here}}
-{
- this->x++;
-}
-