diff options
Diffstat (limited to 'clang/test/InstallAPI/driver-invalid-options.test')
-rw-r--r-- | clang/test/InstallAPI/driver-invalid-options.test | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/InstallAPI/driver-invalid-options.test b/clang/test/InstallAPI/driver-invalid-options.test new file mode 100644 index 0000000..a2e008e --- /dev/null +++ b/clang/test/InstallAPI/driver-invalid-options.test @@ -0,0 +1,4 @@ +/// Check non-darwin triple is rejected. +// RUN: not clang-installapi -target x86_64-unknown-unknown %s 2> %t +// RUN: FileCheck --check-prefix INVALID_INSTALLAPI -input-file %t %s +// INVALID_INSTALLAPI: error: unsupported option 'installapi' for target 'x86_64-unknown-unknown' |