forked from OSchip/llvm-project
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:
parent
84145857b4
commit
3ff4416458
|
@ -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() {
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue