clang/test/Driver/unique-source-file-names.c
raw| 1 | // RUN: %clang -funique-source-file-names -### %s 2> %t |
| 2 | // RUN: FileCheck --check-prefix=SRC < %t %s |
| 3 | |
| 4 | // SRC: "-cc1" |
| 5 | // SRC: "-funique-source-file-identifier={{.*}}unique-source-file-names.c" |
| 6 | |
| 7 | // RUN: %clang -funique-source-file-names -funique-source-file-identifier=foo -### %s 2> %t |
| 8 | // RUN: FileCheck --check-prefix=ID < %t %s |
| 9 | |
| 10 | // ID: "-cc1" |
| 11 | // ID: "-funique-source-file-identifier=foo" |