[cfe-commits] r99526 - /cfe/trunk/test/CodeGenCXX/multi-dim-operator-new.cpp

Fariborz Jahanian fjahanian at apple.com
Thu Mar 25 11:05:36 PDT 2010


Author: fjahanian
Date: Thu Mar 25 13:05:35 2010
New Revision: 99526

URL: http://llvm.org/viewvc/llvm-project?rev=99526&view=rev
Log:
Check for some code gen. for PR6641 test.

Modified:
    cfe/trunk/test/CodeGenCXX/multi-dim-operator-new.cpp

Modified: cfe/trunk/test/CodeGenCXX/multi-dim-operator-new.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/multi-dim-operator-new.cpp?rev=99526&r1=99525&r2=99526&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/multi-dim-operator-new.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/multi-dim-operator-new.cpp Thu Mar 25 13:05:35 2010
@@ -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 @@
  printf("%d\n", g[i].iFoo);
  return 0;
 }
+
+// CHECK: call noalias i8* @_Znam
+// CHECK: call noalias i8* @_Znam
+// CHECK: call noalias i8* @_Znam
+





More information about the cfe-commits mailing list