зеркало из https://github.com/microsoft/clang.git
Convert test to FileCheck.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89514 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
2bf701ee4b
Коммит
228db471f8
|
@ -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 | FileCheck %s
|
||||||
// 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
|
|
||||||
|
|
||||||
struct { int x; int y[]; } a = { 1, 7, 11 };
|
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 } };
|
struct { int x; int y[]; } b = { 1, { 13, 15 } };
|
||||||
|
// CHECK: @b = global %0 { i32 1, [2 x i32] [i32 13, i32 15] }
|
||||||
|
|
Загрузка…
Ссылка в новой задаче