Attempt to make test more robust (fails for users who put LLVM in

/path/with/store/in/it").

llvm-svn: 65852
This commit is contained in:
Daniel Dunbar 2009-03-02 18:50:36 +00:00
parent 13dbe873bd
commit e2e704752c
1 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,7 @@
// RUN: clang -emit-llvm %s -o - | not grep -F "[5 x i8]" &&
// RUN: clang -emit-llvm %s -o - | not grep "store"
// RUN: clang -emit-llvm %s -o %t &&
// RUN: grep 'internal constant \[10 x i8\]' %t &&
// RUN: not grep -F "[5 x i8]" %t &&
// RUN: not grep "store " %t
void test(void) {
char a[10] = "asdf";