summaryrefslogtreecommitdiffstats
path: root/test/FrontendC/2011-03-31-ArrayRefFolding.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/FrontendC/2011-03-31-ArrayRefFolding.c')
-rw-r--r--test/FrontendC/2011-03-31-ArrayRefFolding.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/test/FrontendC/2011-03-31-ArrayRefFolding.c b/test/FrontendC/2011-03-31-ArrayRefFolding.c
deleted file mode 100644
index 4039279..0000000
--- a/test/FrontendC/2011-03-31-ArrayRefFolding.c
+++ /dev/null
@@ -1,15 +0,0 @@
-// RUN: %llvmgcc -S -o - -m32 -Os %s | FileCheck %s
-// PR9571
-
-struct t {
- int x;
-};
-
-extern struct t *cfun;
-
-int f(void) {
- if (!(cfun + 0))
-// CHECK: icmp eq %struct.t* %0, null
- return 0;
- return cfun->x;
-}
OpenPOWER on IntegriCloud