brintos

brintos / llvm-project-archived public Read only

0
0
Text · 880 B · 021c280 Raw
25 lines · c
1// This test uses '<prefix>-SAME: {{^}}' to start matching immediately where the2// previous check finished matching (specifically, caret is not treated as3// matching a start of line when used like this in FileCheck).4 5// RUN: not %clang_cc1 -triple systemz--- -target-cpu not-a-cpu -fsyntax-only %s 2>&1 | FileCheck %s6// CHECK: error: unknown target CPU 'not-a-cpu'7// CHECK-NEXT: note: valid target CPU values are:8// CHECK-SAME: {{^}} arch89// CHECK-SAME: {{^}}, z1010// CHECK-SAME: {{^}}, arch911// CHECK-SAME: {{^}}, z19612// CHECK-SAME: {{^}}, arch1013// CHECK-SAME: {{^}}, zEC1214// CHECK-SAME: {{^}}, arch1115// CHECK-SAME: {{^}}, z1316// CHECK-SAME: {{^}}, arch1217// CHECK-SAME: {{^}}, z1418// CHECK-SAME: {{^}}, arch1319// CHECK-SAME: {{^}}, z1520// CHECK-SAME: {{^}}, arch1421// CHECK-SAME: {{^}}, z1622// CHECK-SAME: {{^}}, arch1523// CHECK-SAME: {{^}}, z1724// CHECK-SAME: {{$}}25