diff options
Diffstat (limited to 'test/TableGen/tg-fixits.td')
-rw-r--r-- | test/TableGen/tg-fixits.td | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/TableGen/tg-fixits.td b/test/TableGen/tg-fixits.td index d04a6a67e4..a01adc6ece 100644 --- a/test/TableGen/tg-fixits.td +++ b/test/TableGen/tg-fixits.td @@ -38,4 +38,9 @@ def HardTabs : Warning<"">, def Unicode : Warning<"ユニコード">, InGroup<DiagGroup<"name">>; // CHECK: tg-fixits.td:[[@LINE-1]]:51: error: group 'name' is referred to anonymously // CHECK-NEXT: def Unicode : Warning<"{{[^"]+}}">, InGroup<DiagGroup<"name">>; -// CHECK-NEXT: note: +// Next two lines should not be printed, we get the underline wrong. Our +// implementation of diagnostic printing can skip printing these lines on some +// OSes, but not on all. See PR14910. +// CHECK: {{(^ ~~~~~~~~\^~~~~~~~~~~~~~~~~~$)?}} +// CHECK: {{(^ InGroup<NamedGroup>$)?}} +// CHECK: note: |