From c72c57c9e9b69944e3e009cd5e209634839581d3 Mon Sep 17 00:00:00 2001 From: dim Date: Mon, 8 Apr 2013 18:45:10 +0000 Subject: Vendor import of clang trunk r178860: http://llvm.org/svn/llvm-project/cfe/trunk@178860 --- test/CodeGen/always-inline.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test/CodeGen/always-inline.c') diff --git a/test/CodeGen/always-inline.c b/test/CodeGen/always-inline.c index dc74be5..c9fd1ae 100644 --- a/test/CodeGen/always-inline.c +++ b/test/CodeGen/always-inline.c @@ -1,4 +1,7 @@ -// RUN: %clang_cc1 -emit-llvm %s -o - | grep call | not grep foo +// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s +// RUN: %clang_cc1 -fno-inline -emit-llvm %s -o - | FileCheck %s + +// CHECK-NOT: foo void bar() { } -- cgit v1.1