
This brings our tree to NetBSD 7.0, as found on -current on the 10-10-2015. This updates: - LLVM to 3.6.1 - GCC to GCC 5.1 - Replace minix/commands/zdump with usr.bin/zdump - external/bsd/libelf has moved to /external/bsd/elftoolchain/ - Import ctwm - Drop sprintf from libminc Change-Id: I149836ac18e9326be9353958bab9b266efb056f0
25 lines
953 B
C++
25 lines
953 B
C++
// Don't attempt slash switches on msys bash.
|
|
// REQUIRES: shell-preserves-root
|
|
|
|
// Note: %s must be preceded by --, otherwise it may be interpreted as a
|
|
// command-line option, e.g. on Mac where %s is commonly under /Users.
|
|
|
|
// RUN: %clang_cl /c /EHsc -### -- %s 2>&1 | FileCheck -check-prefix=EHsc %s
|
|
// EHsc: "-fexceptions"
|
|
|
|
// RUN: %clang_cl /c /EHs-c- -### -- %s 2>&1 | FileCheck -check-prefix=EHs_c_ %s
|
|
// EHs_c_-NOT: "-fexceptions"
|
|
|
|
// RUN: %clang_cl /c /EHs- /EHc- -### -- %s 2>&1 | FileCheck -check-prefix=EHs_EHc_ %s
|
|
// EHs_EHc_-NOT: "-fexceptions"
|
|
|
|
// RUN: %clang_cl /c /EHs- /EHs -### -- %s 2>&1 | FileCheck -check-prefix=EHs_EHs %s
|
|
// EHs_EHs: "-fexceptions"
|
|
|
|
// RUN: %clang_cl /c /EHs- /EHsa -### -- %s 2>&1 | FileCheck -check-prefix=EHs_EHa %s
|
|
// EHs_EHa: "-fexceptions"
|
|
|
|
// RUN: %clang_cl /c /EHinvalid -### -- %s 2>&1 | FileCheck -check-prefix=EHinvalid %s
|
|
// EHinvalid: error: invalid value 'invalid' in '/EH'
|
|
// EHinvalid-NOT: error:
|