aboutsummaryrefslogtreecommitdiffstats
path: root/test/CFrontend
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2008-01-30 05:15:15 +0000
committerTanya Lattner <tonic@nondot.org>2008-01-30 05:15:15 +0000
commite504d76a1529932ace4335ee9146a068be804956 (patch)
tree12e17046525433daad92723c0211a8f699045e72 /test/CFrontend
parentd2c860cef1593307b48096bc83343bcf6583edf1 (diff)
downloadexternal_llvm-e504d76a1529932ace4335ee9146a068be804956.zip
external_llvm-e504d76a1529932ace4335ee9146a068be804956.tar.gz
external_llvm-e504d76a1529932ace4335ee9146a068be804956.tar.bz2
Pointers change size depending upon the target. Remove them to make the test more stable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46548 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CFrontend')
-rw-r--r--test/CFrontend/2007-09-12-PragmaPack.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/CFrontend/2007-09-12-PragmaPack.c b/test/CFrontend/2007-09-12-PragmaPack.c
index 187d5e3..4fc7f48 100644
--- a/test/CFrontend/2007-09-12-PragmaPack.c
+++ b/test/CFrontend/2007-09-12-PragmaPack.c
@@ -1,4 +1,4 @@
-// RUN: %llvmgcc -O3 -S -o - %s | grep {26}
+// RUN: %llvmgcc -O3 -S -o - %s | grep {18}
#include <stdint.h>
@@ -6,7 +6,6 @@
typedef struct
{
uint32_t a;
- uint8_t * b;
} foo;
typedef struct {
@@ -19,7 +18,6 @@ typedef struct {
uint8_t a[5];
VERSION version;
uint8_t b;
- char * c;
foo d;
uint32_t guard;
} bar;