check that always_inline attribute works with -fno-inline

Clean up the existing test to use FileCheck.

llvm-svn: 168607
This commit is contained in:
Sebastian Pop 2012-11-26 20:44:46 +00:00
parent 84145857b4
commit 3ff4416458
1 changed files with 4 additions and 1 deletions

View File

@ -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() {
}