1 // RUN: %clang_cc1 -emit-llvm -g -I%p %s -o - | FileCheck %s 2 // Test that the location of the typedef points to the header file. 3 #line 1 "a.c" 4 #line 2 "b.h" 5 typedef int MyType; 6 #line 2 "a.c" 7 8 MyType a; 9 10 // CHECK: metadata ![[HEADER:[0-9]+]], null, metadata !"MyType"{{.*}} ; [ DW_TAG_typedef ] [MyType] [line 2, size 0, align 0, offset 0] [from int] 11 // CHECK: ![[HEADER]] = metadata !{metadata !"b.h", 12