Debian Codegraph @

clang/test/Misc/target-invalid-cpu-note/wasm.c

raw
1 // This test uses '<prefix>-SAME: {{^}}' to start matching immediately where the
2 // previous check finished matching (specifically, caret is not treated as
3 // matching a start of line when used like this in FileCheck).
4
5 // RUN: not %clang_cc1 -triple wasm64--- -target-cpu not-a-cpu -fsyntax-only %s 2>&1 | FileCheck %s
6 // CHECK: error: unknown target CPU 'not-a-cpu'
7 // CHECK-NEXT: note: valid target CPU values are:
8 // CHECK-SAME: {{^}} mvp
9 // CHECK-SAME: {{^}}, bleeding-edge
10 // CHECK-SAME: {{^}}, generic
11 // CHECK-SAME: {{$}}