// The code generated for this testcase should be completely typesafe!
// RUN: %llvmgcc -xc++ -S -o - %s | llvm-as | opt -die | llvm-dis | \
-// RUN: notcast
+// RUN: grep -v llvm.noinline | notcast
struct contained {
unsigned X;
-// RUN: %llvmgcc -xc++ -S -o - %s | llvm-as | opt -die | llvm-dis | notcast
+// RUN: %llvmgcc -xc++ -S -o - %s | llvm-as | opt -die | llvm-dis | grep -v llvm.noinline | notcast
struct A {
A() : i(0) {}
-// RUN: %llvmgxx -xc++ %s -c -o - | opt -die | llvm-dis | not grep cast
+// RUN: %llvmgxx -xc++ %s -c -o - | opt -die | llvm-dis | grep -v llvm.noinline | not grep cast
void foo(int*);
-/* RUN: %llvmgcc -xc %s -S -o - | grep -v alloca | not grep bitcast
+/* RUN: %llvmgcc -xc %s -S -o - | grep -v alloca | grep -v llvm.noinline | not grep bitcast
*/
void test(int* array, long long N) {