llvm-project/clang/test/Driver/darwin-debug-prefix-map.c
Fangrui Song 662c9ef180 Revert D156363 "[Driver] -###: exit with code 1 if hasErrorOccurred"
This reverts commit 8c3550b1a78fde7bf28f420da8447d9fde37017f.

clang/test/Driver/fsanitize.c has a mysterious failure worth
investigation.
2023-07-30 19:52:26 -07:00

7 lines
332 B
C

// RUN: env RC_DEBUG_PREFIX_MAP=old=new \
// RUN: %clang -target arm64-apple-darwin -### -c -g %s 2>&1 | FileCheck %s
// RUN: env RC_DEBUG_PREFIX_MAP=illegal \
// RUN: %clang -target arm64-apple-darwin -### -c -g %s 2>&1 | FileCheck %s --check-prefix=ERR
// CHECK: "-fdebug-prefix-map=old=new"
// ERR: invalid argument 'illegal'