aboutsummaryrefslogtreecommitdiff
path: root/clang/test/DebugInfo/Generic/slash.c
blob: 02187d077d45b08ffc408ba75fc67b466e8a78e9 (plain)
1
2
3
4
5
6
// RUN: %clang -target x86_64-pc-win32  -ffile-reproducible -emit-llvm -S -g %s -o - | FileCheck --check-prefix=WIN %s
// RUN: %clang -target x86_64-linux-gnu  -ffile-reproducible -emit-llvm -S -g %s -o - | FileCheck --check-prefix=LINUX %s
int main() { return 0; }

// WIN:   !DIFile(filename: "{{.*}}\\slash.c"
// LINUX: !DIFile(filename: "{{.*}}/slash.c"