For PR1319:

Fix test syntax per new rules.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36133 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer
2007-04-16 15:15:52 +00:00
parent 3401c99889
commit 4cda190ef5
23 changed files with 48 additions and 30 deletions

View File

@@ -1,4 +1,4 @@
// RUN: %llvmgcc -xc %s -S -o /dev/null 2>&1 | not grep 'warning'
// RUN: %llvmgcc -xc %s -S -o /dev/null |& not grep 'warning'
struct item {
short delta[4];

View File

@@ -1,6 +1,6 @@
// This file is erroneous, but should not cause the compiler to ICE.
// PR481
// RUN: %llvmgcc %s -S -o /dev/null 2>&1 | not grep 'internal compiler error'
// RUN: %llvmgcc %s -S -o /dev/null |& not grep {internal compiler error}
#include <stdarg.h>
int flags(int a, int b, ...) {

View File

@@ -1,3 +1,3 @@
// RUN: %llvmgcc %s -S -o /dev/null 2>&1 | not grep 'internal compiler error'
// RUN: %llvmgcc %s -S -o /dev/null |& not grep {internal compiler error}
struct A X[(927 - 37) / sizeof(struct A)];

View File

@@ -1,5 +1,6 @@
// RUN: %llvmgcc -xc %s -S -o /dev/null 2>&1 | grep fluffy | grep '2006-09-25-DebugFilename.c.tr'
// RUN: %llvmgcc -xc %s -S -o /dev/null |& \
// RUN: grep fluffy | grep 2006-09-25-DebugFilename.c.tr
#include "2006-09-25-DebugFilename.h"
int func1() { return hfunc1(); }
int func2() { fluffy; return hfunc1(); }
int func2() { int fluffy; return hfunc1(); }