summaryrefslogtreecommitdiff
path: root/test/CodeGen/debug-dead-local-var.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/debug-dead-local-var.c')
-rw-r--r--test/CodeGen/debug-dead-local-var.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/test/CodeGen/debug-dead-local-var.c b/test/CodeGen/debug-dead-local-var.c
deleted file mode 100644
index f9ca8f2f297de..0000000000000
--- a/test/CodeGen/debug-dead-local-var.c
+++ /dev/null
@@ -1,14 +0,0 @@
-// RUN: %clang_cc1 -mllvm -asm-verbose -S -O2 -g %s -o - | FileCheck %s
-// Radar 8122864
-
-// Code is not generated for function foo, but preserve type information of
-// local variable xyz.
-static void foo() {
-// CHECK: DW_TAG_structure_type
- struct X { int a; int b; } xyz;
-}
-
-int bar() {
- foo();
- return 1;
-}