Convert test to FileCheck.

llvm-svn: 89514
This commit is contained in:
Daniel Dunbar 2009-11-20 23:46:56 +00:00
parent 58ef18b38c
commit c2588c3bd9
1 changed files with 3 additions and 4 deletions

View File

@ -1,8 +1,7 @@
// RUN: clang-cc -triple i386-unknown-unknown -emit-llvm -o - %s | grep 7 | count 1
// RUN: clang-cc -triple i386-unknown-unknown -emit-llvm -o - %s | grep 11 | count 1
// RUN: clang-cc -triple i386-unknown-unknown -emit-llvm -o - %s | grep 13 | count 1
// RUN: clang-cc -triple i386-unknown-unknown -emit-llvm -o - %s | grep 15 | count 1
// RUN: clang-cc -triple i386-unknown-unknown -emit-llvm -o - %s | FileCheck %s
struct { int x; int y[]; } a = { 1, 7, 11 };
// CHECK: @a = global %0 { i32 1, [2 x i32] [i32 7, i32 11] }
struct { int x; int y[]; } b = { 1, { 13, 15 } };
// CHECK: @b = global %0 { i32 1, [2 x i32] [i32 13, i32 15] }