summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/mangle.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-03-10 17:07:44 +0000
committerAnders Carlsson <andersca@mac.com>2009-03-10 17:07:44 +0000
commit0275115f665a440111e62a3dcbae46989b254b4b (patch)
tree0c0730f330f026816cf3998f4b51a0c73a2ace30 /clang/test/CodeGenCXX/mangle.cpp
parent9a9a4228865dade4ffc8440b45e0ec66f58af6f7 (diff)
downloadbcm5719-llvm-0275115f665a440111e62a3dcbae46989b254b4b.tar.gz
bcm5719-llvm-0275115f665a440111e62a3dcbae46989b254b4b.zip
Address Doug's comments wrt the mangler and fix Eli's test case
llvm-svn: 66549
Diffstat (limited to 'clang/test/CodeGenCXX/mangle.cpp')
-rw-r--r--clang/test/CodeGenCXX/mangle.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/mangle.cpp b/clang/test/CodeGenCXX/mangle.cpp
index 1c98df590bc..5c38d172113 100644
--- a/clang/test/CodeGenCXX/mangle.cpp
+++ b/clang/test/CodeGenCXX/mangle.cpp
@@ -16,6 +16,11 @@ void f(s) { }
typedef enum { foo } e;
void f(e) { }
-// RUN: grep _Z1f1u %t | count 1
+// RUN: grep _Z1f1u %t | count 1 &&
typedef union { int a; } u;
void f(u) { }
+
+// RUN: grep _Z1f1x %t | count 1
+typedef struct { int a; } x,y;
+void f(y) { }
+
OpenPOWER on IntegriCloud