xref: /llvm-project/clang/test/Lexer/cross-windows-on-linux.cpp (revision adc183018715ee979c2e2532b9669f480b6bf37c)
1 // RUN: not %clang_cc1 -fsyntax-only -triple i686-win32 %s 2>&1 | FileCheck %s
2 
3 #include "Inputs\success.h"
4 
5 // CHECK: error: 'Inputs\success.h' file not found
6 // CHECK: #include "Inputs\success.h"
7 // CHECK:          ^
8 
9 // This test is really checking that we *don't* replace backslashes with slashes
10 // on non-Windows unless -fms-extensions is passed. It won't fail in this way on
11 // Windows because the filesystem will interpret the backslash as a directory
12 // separator.
13 // UNSUPPORTED: system-windows
14