]> granicus.if.org Git - clang/commitdiff
Remove this test, it's more properly an optimizer test.
authorEric Christopher <echristo@apple.com>
Tue, 26 Jul 2011 01:11:20 +0000 (01:11 +0000)
committerEric Christopher <echristo@apple.com>
Tue, 26 Jul 2011 01:11:20 +0000 (01:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136036 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/2010-05-14-Optimized-VarType.c [deleted file]

diff --git a/test/CodeGen/2010-05-14-Optimized-VarType.c b/test/CodeGen/2010-05-14-Optimized-VarType.c
deleted file mode 100644 (file)
index e56644b..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-// RUN: %clang_cc1 %s -Os -emit-llvm -g -o - | grep DW_TAG_structure_type | count 1
-// Variable 'a' is optimized but the debug info should preserve its type info.
-#include <stdlib.h>
-
-struct foo {
-       int Attribute;
-};
-
-void *getfoo(void) __attribute__((noinline));
-
-void *getfoo(void)
-{
-       int *x = malloc(sizeof(int));
-       *x = 42;
-       return (void *)x;
-}
-
-int main(int argc, char *argv[]) {
-       struct foo *a = (struct foo *)getfoo();
-
-       return a->Attribute;
-}
-