aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC++/2005-02-20-BrokenReferenceTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/FrontendC++/2005-02-20-BrokenReferenceTest.cpp')
-rw-r--r--test/FrontendC++/2005-02-20-BrokenReferenceTest.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/test/FrontendC++/2005-02-20-BrokenReferenceTest.cpp b/test/FrontendC++/2005-02-20-BrokenReferenceTest.cpp
deleted file mode 100644
index 31026d3..0000000
--- a/test/FrontendC++/2005-02-20-BrokenReferenceTest.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
-// RUN: %llvmgxx %s -S -o /dev/null
-
-void test(unsigned char *b, int rb) {
- typedef unsigned char imgfoo[10][rb];
- imgfoo &br = *(imgfoo *)b;
-
- br[0][0] = 1;
-
- rb = br[0][0];
-}
-