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