[cfe-commits] r168607 - /cfe/trunk/test/CodeGen/always-inline.c
Sebastian Pop
spop at codeaurora.org
Mon Nov 26 12:44:47 PST 2012
Author: spop
Date: Mon Nov 26 14:44:46 2012
New Revision: 168607
URL: http://llvm.org/viewvc/llvm-project?rev=168607&view=rev
Log:
check that always_inline attribute works with -fno-inline
Clean up the existing test to use FileCheck.
Modified:
cfe/trunk/test/CodeGen/always-inline.c
Modified: cfe/trunk/test/CodeGen/always-inline.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/always-inline.c?rev=168607&r1=168606&r2=168607&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/always-inline.c (original)
+++ cfe/trunk/test/CodeGen/always-inline.c Mon Nov 26 14:44:46 2012
@@ -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() {
}
More information about the cfe-commits
mailing list