summaryrefslogtreecommitdiffstats
path: root/llvm/test/CFrontend/2004-03-15-SimpleIndirectGoto.c
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2008-05-29 19:17:15 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2008-05-29 19:17:15 +0000
commitd8734cf9162bc74b3c7603e4e81cb04a983bd444 (patch)
tree34399f40ef982abd2e6d99a134561e4a2c2be1e2 /llvm/test/CFrontend/2004-03-15-SimpleIndirectGoto.c
parentd95dcd12c9413e6e4aea5cc63acbb0edeb5ac2da (diff)
downloadbcm5719-llvm-d8734cf9162bc74b3c7603e4e81cb04a983bd444.tar.gz
bcm5719-llvm-d8734cf9162bc74b3c7603e4e81cb04a983bd444.zip
For PR1338: Rename test dirs
llvm-svn: 51695
Diffstat (limited to 'llvm/test/CFrontend/2004-03-15-SimpleIndirectGoto.c')
-rw-r--r--llvm/test/CFrontend/2004-03-15-SimpleIndirectGoto.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/llvm/test/CFrontend/2004-03-15-SimpleIndirectGoto.c b/llvm/test/CFrontend/2004-03-15-SimpleIndirectGoto.c
deleted file mode 100644
index ad7221e96a0..00000000000
--- a/llvm/test/CFrontend/2004-03-15-SimpleIndirectGoto.c
+++ /dev/null
@@ -1,23 +0,0 @@
-// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
-
-int code[]={0,0,0,0,1};
-void foo(int x) {
- volatile int b;
- b = 0xffffffff;
-}
-void bar(int *pc) {
- static const void *l[] = {&&lab0, &&end};
-
- foo(0);
- goto *l[*pc];
- lab0:
- foo(0);
- pc++;
- goto *l[*pc];
- end:
- return;
-}
-int main() {
- bar(code);
- return 0;
-}
OpenPOWER on IntegriCloud