]> granicus.if.org Git - clang/commitdiff
Try to fix new.cpp after r244920 to make it pass
authorReid Kleckner <rnk@google.com>
Thu, 13 Aug 2015 18:10:32 +0000 (18:10 +0000)
committerReid Kleckner <rnk@google.com>
Thu, 13 Aug 2015 18:10:32 +0000 (18:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244925 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/new.cpp

index c8e0acba7b05bbeb3f26ae85d4793256e150f4fb..6ea5af37bb52bb407bf7177b55f8388558582142 100644 (file)
@@ -371,12 +371,12 @@ namespace builtins {
 // CHECK-DAG: attributes [[ATTR_NOBUILTIN]] = {{[{].*}} nobuiltin {{.*[}]}}
 // CHECK-DAG: attributes [[ATTR_NOBUILTIN_NOUNWIND]] = {{[{].*}} nobuiltin nounwind {{.*[}]}}
 
+// CHECK-DAG: attributes [[ATTR_BUILTIN_NEW]] = {{[{].*}} builtin {{.*[}]}}
+// CHECK-DAG: attributes [[ATTR_BUILTIN_DELETE]] = {{[{].*}} builtin {{.*[}]}}
+
 // CHECK: attributes [[ATTR_NOUNWIND]] =
 // CHECK-NOT: builtin
 // CHECK-NOT: attributes
 // CHECK: nounwind
 // CHECK-NOT: builtin
-// CHECK: attributes
-
-// CHECK-DAG: attributes [[ATTR_BUILTIN_NEW]] = {{[{].*}} builtin {{.*[}]}}
-// CHECK-DAG: attributes [[ATTR_BUILTIN_DELETE]] = {{[{].*}} builtin {{.*[}]}}
+// CHECK-NOT: attributes