summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/builtin-attributes.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/builtin-attributes.c')
-rw-r--r--test/CodeGen/builtin-attributes.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CodeGen/builtin-attributes.c b/test/CodeGen/builtin-attributes.c
index afde3fa..822b8ee 100644
--- a/test/CodeGen/builtin-attributes.c
+++ b/test/CodeGen/builtin-attributes.c
@@ -10,3 +10,8 @@ void f0() {
void f1() {
exit(1);
}
+
+// CHECK: call i8* @strstr{{.*}} nounwind
+char* f2(char* a, char* b) {
+ return __builtin_strstr(a, b);
+}
OpenPOWER on IntegriCloud