summaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/multi-dim-operator-new.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2010-03-25 18:05:35 +0000
committerFariborz Jahanian <fjahanian@apple.com>2010-03-25 18:05:35 +0000
commit1e41336415ceea828ac14c30f2e4d9bd445e77bd (patch)
tree0ffafd9ece9051d2a0f25d26c67f27f571c8fbdd /test/CodeGenCXX/multi-dim-operator-new.cpp
parent32f2fb53d9d7c28c94d8569fd0fcf06cccee0c3d (diff)
downloadclang-1e41336415ceea828ac14c30f2e4d9bd445e77bd.tar.gz
Check for some code gen. for PR6641 test.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99526 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/multi-dim-operator-new.cpp')
-rw-r--r--test/CodeGenCXX/multi-dim-operator-new.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/CodeGenCXX/multi-dim-operator-new.cpp b/test/CodeGenCXX/multi-dim-operator-new.cpp
index 46832ae919..7a235e83a7 100644
--- a/test/CodeGenCXX/multi-dim-operator-new.cpp
+++ b/test/CodeGenCXX/multi-dim-operator-new.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -emit-llvm-only -verify %s
+// RUN: %clang_cc1 %s -triple x86_64-unknown-unknown -emit-llvm -o - | FileCheck %s
// PR6641
extern "C" int printf(const char *, ...);
@@ -42,3 +42,8 @@ int main() {
printf("%d\n", g[i].iFoo);
return 0;
}
+
+// CHECK: call noalias i8* @_Znam
+// CHECK: call noalias i8* @_Znam
+// CHECK: call noalias i8* @_Znam
+