xref: /llvm-project/clang/test/CodeGen/debug-info-slash.test (revision 75993812d5c1f269b781c34987748f2a792a579d)
1RUN: rm -rf %t-dir
2RUN: mkdir -p %t-dir/header/Inputs
3RUN: cp %S/Inputs/debug-info-slash.cpp %t-dir/
4RUN: cp %S/Inputs/debug-info-slash.h %t-dir/header/Inputs
5RUN: cd %t-dir
6RUN: %clang -target x86_64-pc-win32 -emit-llvm -S -g  %t-dir/debug-info-slash.cpp -Iheader -o - | FileCheck --check-prefix=WIN %s
7RUN: %clang -target x86_64-linux-gnu -emit-llvm -S -g  %t-dir/debug-info-slash.cpp -Iheader -o - | FileCheck --check-prefix=LINUX %s
8
9WIN:   lambda at header\\Inputs\\debug-info-slash.h
10LINUX: lambda at header/Inputs/debug-info-slash.h
11