summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/default-arg-temps.cpp
diff options
context:
space:
mode:
authorrdivacky <rdivacky@FreeBSD.org>2009-10-23 14:22:18 +0000
committerrdivacky <rdivacky@FreeBSD.org>2009-10-23 14:22:18 +0000
commit5563df30b9c8d1fe87a54baae0d6bd86642563f4 (patch)
tree3fdd91eae574e32453a4baf462961c742df2691a /test/CodeGenCXX/default-arg-temps.cpp
parente5557c18e5d41b4b62f2af8a24af20eba40b0225 (diff)
downloadFreeBSD-src-5563df30b9c8d1fe87a54baae0d6bd86642563f4.zip
FreeBSD-src-5563df30b9c8d1fe87a54baae0d6bd86642563f4.tar.gz
Update clang to r84949.
Diffstat (limited to 'test/CodeGenCXX/default-arg-temps.cpp')
-rw-r--r--test/CodeGenCXX/default-arg-temps.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/test/CodeGenCXX/default-arg-temps.cpp b/test/CodeGenCXX/default-arg-temps.cpp
index 2651446..8385aff 100644
--- a/test/CodeGenCXX/default-arg-temps.cpp
+++ b/test/CodeGenCXX/default-arg-temps.cpp
@@ -15,7 +15,7 @@ public:
void g() {
// RUN: grep "call void @_ZN1TC1Ev" %t | count 4 &&
- // RUN: grep "call void @_ZN1TD1Ev" %t | count 4
+ // RUN: grep "call void @_ZN1TD1Ev" %t | count 4 &&
f();
f();
@@ -23,3 +23,10 @@ void g() {
X b(a);
X c = a;
}
+
+
+// RUN: grep memset %t
+class obj{ int a; float b; double d; };
+void h() {
+ obj o = obj();
+}
OpenPOWER on IntegriCloud