diff options
| author | Devang Patel <dpatel@apple.com> | 2011-02-01 00:47:16 +0000 |
|---|---|---|
| committer | Devang Patel <dpatel@apple.com> | 2011-02-01 00:47:16 +0000 |
| commit | 1c0eec5cfb0562b3c057b8da3091c7227922e802 (patch) | |
| tree | b016ec4e7e312c59fbc57e704207e79a34b28705 | |
| parent | 08bccdad1913d7ff69827880408fdca235598df6 (diff) | |
| download | bcm5719-llvm-1c0eec5cfb0562b3c057b8da3091c7227922e802.tar.gz bcm5719-llvm-1c0eec5cfb0562b3c057b8da3091c7227922e802.zip | |
Remove stale test that has never worked, afaik.
llvm-svn: 124635
| -rw-r--r-- | llvm/test/FrontendC++/2006-11-30-NoCompileUnit.cpp | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/llvm/test/FrontendC++/2006-11-30-NoCompileUnit.cpp b/llvm/test/FrontendC++/2006-11-30-NoCompileUnit.cpp deleted file mode 100644 index 242a37e4133..00000000000 --- a/llvm/test/FrontendC++/2006-11-30-NoCompileUnit.cpp +++ /dev/null @@ -1,60 +0,0 @@ -// This is a regression test on debug info to make sure we don't hit a compile -// unit size issue with gdb. -// RUN: %llvmgcc -S -O0 -g %s -o - | \ -// RUN: llc --disable-fp-elim -o NoCompileUnit.s -// RUN: %compile_c NoCompileUnit.s -o NoCompileUnit.o -// RUN: %link NoCompileUnit.o -o NoCompileUnit.exe -// RUN: echo {break main\nrun\np NoCompileUnit::pubname} > %t2 -// RUN: gdb -q -batch -n -x %t2 NoCompileUnit.exe | \ -// RUN: tee NoCompileUnit.out | not grep {"low == high"} -// XFAIL: alpha,arm -// XFAIL: * -// See PR2454 - - -class MamaDebugTest { -private: - int N; - -protected: - MamaDebugTest(int n) : N(n) {} - - int getN() const { return N; } - -}; - -class BabyDebugTest : public MamaDebugTest { -private: - -public: - BabyDebugTest(int n) : MamaDebugTest(n) {} - - static int doh; - - int doit() { - int N = getN(); - int Table[N]; - - int sum = 0; - - for (int i = 0; i < N; ++i) { - int j = i; - Table[i] = j; - } - for (int i = 0; i < N; ++i) { - int j = Table[i]; - sum += j; - } - - return sum; - } - -}; - -int BabyDebugTest::doh; - - -int main(int argc, const char *argv[]) { - BabyDebugTest BDT(20); - return BDT.doit(); -} |

