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