blob: f9ca8f2f297debe1c916bd276622f6e332ef30c1 [file] [log] [blame]
Devang Patelc0b850c2011-08-19 23:26:54 +00001// RUN: %clang_cc1 -mllvm -asm-verbose -S -O2 -g %s -o - | FileCheck %s
2// Radar 8122864
3
4// Code is not generated for function foo, but preserve type information of
5// local variable xyz.
6static void foo() {
7// CHECK: DW_TAG_structure_type
8 struct X { int a; int b; } xyz;
9}
10
11int bar() {
12 foo();
13 return 1;
14}