xref: /llvm-project/clang/test/CodeGen/debug-info-slash.c (revision ab8f622c79b27bc606da043e8dcbd417b8ade725)
1 // RUN: %clang -target x86_64-pc-win32  -ffile-reproducible -emit-llvm -S -g %s -o - | FileCheck --check-prefix=WIN %s
2 // RUN: %clang -target x86_64-linux-gnu  -ffile-reproducible -emit-llvm -S -g %s -o - | FileCheck --check-prefix=LINUX %s
main()3 int main() { return 0; }
4 
5 // WIN:   !DIFile(filename: "{{.*}}\\debug-info-slash.c"
6 // LINUX: !DIFile(filename: "{{.*}}/debug-info-slash.c"
7