Fix debug-info-alias test to add CHECK to some lines that were missing it.
To simplify source location offsets, this test uses line directives to force particular lines of interest to have known line numbers so that adjustments before/after those points don't require updates to the CHECK lines. llvm-svn: 207779
This commit is contained in:
@@ -21,8 +21,9 @@ x::bar<int> bi;
|
||||
x::bar<float> bf;
|
||||
|
||||
using
|
||||
// metadata [[NARF:![0-9]*]], i32 0, i32 1, {{.*}} ; [ DW_TAG_variable ] [n]
|
||||
narf // [[NARF]] = {{.*}} ; [ DW_TAG_typedef ] [narf] [line [[@LINE]]
|
||||
// CHECK: metadata [[NARF:![0-9]*]], i32 0, i32 1, {{.*}} ; [ DW_TAG_variable ] [n]
|
||||
# 142
|
||||
narf // CHECK: [[NARF]] = {{.*}} ; [ DW_TAG_typedef ] [narf] [line 142
|
||||
= int;
|
||||
narf n;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user