clang/test/CIR/CodeGen/module-filename.cpp
raw| 1 | // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fclangir -emit-cir %s -o %t.cir |
| 2 | // RUN: FileCheck --check-prefix=CIR --input-file=%t.cir %s |
| 3 | |
| 4 | // Normally, we try to avoid checking the filename of a test, but that's the |
| 5 | // entire point of this test, so we use a wildcard for the path but check the |
| 6 | // filename. |
| 7 | // CIR: module @"{{.*}}module-filename.cpp" |
| 8 | |
| 9 | int main() { |
| 10 | return 0; |
| 11 | } |