From 01af97d3b23bded2b2b21af19bbc6e4cce49e5b3 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Mon, 2 May 2011 19:39:53 +0000 Subject: Vendor import of clang trunk r130700: http://llvm.org/svn/llvm-project/cfe/trunk@130700 --- test/CodeGen/builtin-attributes.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/CodeGen/builtin-attributes.c') diff --git a/test/CodeGen/builtin-attributes.c b/test/CodeGen/builtin-attributes.c index afde3fab8481..822b8eecf7d7 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); +} -- cgit v1.3