1 // RUN: %clang_cc1 -emit-llvm -g -triple x86_64-apple-darwin -std=c++11 %s -o - | FileCheck %s 2 3 union E { 4 int a; 5 float b; 6 int bb() { return a;} 7 float aa() { return b;} 8 E() { a = 0; } 9 }; 10 11 E e; 12 13 // CHECK: {{.*}} ; [ DW_TAG_union_type ] [E] [line 3, size 32, align 32, offset 0] 14 // CHECK: {{.*}} ; [ DW_TAG_subprogram ] [line 6] [bb] 15 // CHECK: {{.*}} ; [ DW_TAG_subprogram ] [line 7] [aa] 16 // CHECK: {{.*}} ; [ DW_TAG_subprogram ] [line 8] [E] 17