aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/mangle.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-12-04 22:33:25 +0000
committerAnders Carlsson <andersca@mac.com>2009-12-04 22:33:25 +0000
commit5c478cf2d54157062cd843737324e0d0df03a464 (patch)
tree0250363588683ed0922d1ebfdd6cf46bb5ec9cd0 /test/CodeGenCXX/mangle.cpp
parentbe0ed67bc79e96c26cd0ad41dcfab5a5020ead51 (diff)
Diagnose declarations of implicit member functions.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90605 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/mangle.cpp')
-rw-r--r--test/CodeGenCXX/mangle.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CodeGenCXX/mangle.cpp b/test/CodeGenCXX/mangle.cpp
index 03e405ecba..38f3c8bd3f 100644
--- a/test/CodeGenCXX/mangle.cpp
+++ b/test/CodeGenCXX/mangle.cpp
@@ -208,8 +208,9 @@ void extern_f(void);
void extern_f(void) { }
struct S7 {
- struct S { S(); };
+ S7();
+ struct S { S(); };
struct {
S s;
} a;