We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43a54b8 commit 8089143Copy full SHA for 8089143
flang/test/Driver/target-cpu-invalid-x86.f90
@@ -0,0 +1,7 @@
1
+! Test that invalid cpu is rejected.
2
+
3
+! REQUIRES: x86-registered-target
4
5
+! RUN: not %flang_fc1 -triple x86_64-unknown-linux-gnu -target-cpu not_valid_cpu -o - -S %s 2>&1 | FileCheck %s
6
7
+! CHECK: error: unknown target CPU 'not_valid_cpu'
0 commit comments