Skip to content

Commit 8089143

Browse files
LIT test
1 parent 43a54b8 commit 8089143

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)