summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/builtin-attributes.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGen/builtin-attributes.c')
-rw-r--r--clang/test/CodeGen/builtin-attributes.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/clang/test/CodeGen/builtin-attributes.c b/clang/test/CodeGen/builtin-attributes.c
index 1d3a94376d5..79026cb54b8 100644
--- a/clang/test/CodeGen/builtin-attributes.c
+++ b/clang/test/CodeGen/builtin-attributes.c
@@ -12,7 +12,7 @@ void f1() {
exit(1);
}
-// CHECK: call i8* @strstr{{.*}} nounwind
+// CHECK: call i8* @strstr{{.*}} [[NUW:#[0-9]+]]
char* f2(char* a, char* b) {
return __builtin_strstr(a, b);
}
@@ -57,3 +57,6 @@ int f3(double x) {
__builtin_remquol(x, x, &e);
return e;
}
+
+// CHECK: attributes [[NUW]] = { nounwind }
+// CHECK: attributes #1 = { noreturn }
OpenPOWER on IntegriCloud