[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Driver / darwin-debug-prefix-map.c
blob2a30ce5b79889694d7d3217c0172ec412e6aece1
1 // RUN: env RC_DEBUG_PREFIX_MAP=old=new \
2 // RUN: %clang -target arm64-apple-darwin -### -c -g %s 2>&1 | FileCheck %s
3 // RUN: env RC_DEBUG_PREFIX_MAP=illegal \
4 // RUN: %clang -target arm64-apple-darwin -### -c -g %s 2>&1 | FileCheck %s --check-prefix=ERR
5 // CHECK: "-fdebug-prefix-map=old=new"
6 // ERR: invalid argument 'illegal'