diff options
Diffstat (limited to 'clang/test')
| -rw-r--r-- | clang/test/CodeGenCXX/new.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/clang/test/CodeGenCXX/new.cpp b/clang/test/CodeGenCXX/new.cpp index 6ea5af37bb5..6d6f7013861 100644 --- a/clang/test/CodeGenCXX/new.cpp +++ b/clang/test/CodeGenCXX/new.cpp @@ -374,9 +374,6 @@ namespace builtins { // 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-NOT: attributes +// The ([^b}|...) monstrosity is matching a character that's not the start of 'builtin'. +// Add more letters if this matches some other attribute. +// CHECK-DAG: attributes [[ATTR_NOUNWIND]] = {{([^b]|b[^u]|bu[^i]|bui[^l])*}} nounwind {{([^b]|b[^u]|bu[^i]|bui[^l])*$}} |

