diff options
author | Mike Stump <mrs@apple.com> | 2009-02-22 13:27:11 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-02-22 13:27:11 +0000 |
commit | 20733cd4fd5c9755cdfab583db862223c93732c8 (patch) | |
tree | 0f348797e578bd16dd2b0f861b9c01595bec63a7 /test/CodeGen/const-init.c | |
parent | 2217c87bdc5ab357046a5453bdb06f469c41024e (diff) |
Cleanp code with some recent suggestions.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65285 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/const-init.c')
-rw-r--r-- | test/CodeGen/const-init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/const-init.c b/test/CodeGen/const-init.c index a709cef218..0ca7c24f0b 100644 --- a/test/CodeGen/const-init.c +++ b/test/CodeGen/const-init.c @@ -28,13 +28,13 @@ _Complex double g1x = 1.0f; _Complex double g1y = 1.0fi; // RUN: grep '@g1 = global { i8, i8 } { i8 1, i8 10 }' %t && _Complex char g1 = (char) 1 + (char) 10 * 1i; -// RUN: grep '@g2 = global { i32, i32 } { i32 1, i32 10 }' %t && +// 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 && _Complex float g3 = 1.0 + 10.0i; // RUN: grep '@g4 = global { double, double } { double 1.000000e+00, double 1.000000e+01 }' %t && _Complex double g4 = 1.0 + 10.0i; -// RUN: grep '@g5 = global { i32, i32 } zeroinitializer' %t && +// 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 && _Complex double g6 = (2.0 + 3.0i) * (5.0 + 7.0i); |