diff options
author | Chris Lattner <sabre@nondot.org> | 2009-03-01 00:59:19 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-03-01 00:59:19 +0000 |
commit | 6f877cd1743b12a09b4e5f32cc94552c19df7e42 (patch) | |
tree | e5ac1490dfbe2e76798fc0eda7e065517b0bf372 /test/CodeGen/const-init.c | |
parent | cddc88800bbd1213ec70ae5153c6a7f2e380fd8d (diff) |
adjust to changes in the mainline llvm .ll printer.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65745 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/const-init.c')
-rw-r--r-- | test/CodeGen/const-init.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/CodeGen/const-init.c b/test/CodeGen/const-init.c index d88add36a9..30fc755246 100644 --- a/test/CodeGen/const-init.c +++ b/test/CodeGen/const-init.c @@ -22,21 +22,21 @@ union s2 { int g0 = (int)(&(((union s2 *) 0)->f0.f0) - 0); -// RUN: grep '@g1x = global { double, double } { double 1.000000e+00, double 0.000000e+00 }' %t && +// RUN: grep '@g1x = global %. { double 1.000000e+00, double 0.000000e+00 }' %t && _Complex double g1x = 1.0f; -// RUN: grep '@g1y = global { double, double } { double 0.000000e+00, double 1.000000e+00 }' %t && +// RUN: grep '@g1y = global %. { double 0.000000e+00, double 1.000000e+00 }' %t && _Complex double g1y = 1.0fi; -// RUN: grep '@g1 = global { i8, i8 } { i8 1, i8 10 }' %t && +// RUN: grep '@g1 = global %. { i8 1, i8 10 }' %t && _Complex char g1 = (char) 1 + (char) 10 * 1i; // RUN: grep '@g2 = global .struct.__block_descriptor { i32 1, i32 10 }' %t && _Complex int g2 = 1 + 10i; -// RUN: grep '@g3 = global { float, float } { float 1.000000e+00, float 1.000000e+01 }' %t && +// RUN: grep '@g3 = global %. { float 1.000000e+00, float 1.000000e+01 }' %t && _Complex float g3 = 1.0 + 10.0i; -// RUN: grep '@g4 = global { double, double } { double 1.000000e+00, double 1.000000e+01 }' %t && +// RUN: grep '@g4 = global %. { double 1.000000e+00, double 1.000000e+01 }' %t && _Complex double g4 = 1.0 + 10.0i; // RUN: grep '@g5 = global .struct.__block_descriptor zeroinitializer' %t && _Complex int g5 = (2 + 3i) == (5 + 7i); -// RUN: grep '@g6 = global { double, double } { double -1.100000e+01, double 2.900000e+01 }' %t && +// RUN: grep '@g6 = global %. { double -1.100000e+01, double 2.900000e+01 }' %t && _Complex double g6 = (2.0 + 3.0i) * (5.0 + 7.0i); // RUN: grep '@g7 = global i32 1' %t && int g7 = (2 + 3i) * (5 + 7i) == (-11 + 29i); |