[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Driver / verbose-output-quoting.c
blobb2781b754ecd70e729dd0223ac21892f539e92f5
1 // REQUIRES: shell
2 // RUN: %clang --verbose -DSPACE="a b" -### %s 2>&1 | FileCheck -check-prefix=SPACE -strict-whitespace %s
3 // RUN: %clang --verbose -DQUOTES=\"\" -### %s 2>&1 | FileCheck -check-prefix=QUOTES -strict-whitespace %s
4 // RUN: %clang --verbose -DBACKSLASH=\\ -### %s 2>&1 | FileCheck -check-prefix=BACKSLASH -strict-whitespace %s
5 // RUN: %clang --verbose -DDOLLAR=\$ -### %s 2>&1 | FileCheck -check-prefix=DOLLAR -strict-whitespace %s
7 // SPACE: "-cc1" {{.*}} "-D" "SPACE=a b"
8 // QUOTES: "-cc1" {{.*}} "-D" "QUOTES=\"\""
9 // BACKSLASH: "-cc1" {{.*}} "-D" "BACKSLASH=\\"
10 // DOLLAR: "-cc1" {{.*}} "-D" "DOLLAR=\$"