mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-29 17:11:17 +00:00
Ensure that an invalid value passed to target parser does not cause an assertion in +Asserts builds. Supporting test for PR26839. llvm-svn: 262780
3 lines
147 B
C
3 lines
147 B
C
// RUN: not %clang_cc1 -triple armv7--- -target-cpu not-a-cpu -fsyntax-only %s 2>&1 | FileCheck %s
|
|
// CHECK: error: unknown target CPU 'not-a-cpu'
|