// FIXME: Check IR rather than asm, then triple is not needed.
// RUN: %clang_cc1 -mllvm -asm-verbose -triple %itanium_abi_triple -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;
}

// FIXME: Check IR rather than asm, then triple is not needed.
// RUN: %clang_cc1 -triple %itanium_abi_triple -O2 -g -emit-llvm %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;
}

Make this test emit llvm IR rather than assembly.
Make this test emit llvm IR rather than assembly.

git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@209255 91177308-0d34-0410-b5e6-96231b3b80d8
