bolt/deps/llvm-18.1.8/clang/test/Lexer/cross-windows-on-linux.cpp

14 lines
505 B
C++
Raw Normal View History

2025-02-14 19:21:04 +01:00
// RUN: not %clang_cc1 -fsyntax-only -triple i686-win32 %s 2>&1 | FileCheck %s
#include "Inputs\success.h"
// CHECK: error: 'Inputs\success.h' file not found
// CHECK: #include "Inputs\success.h"
// CHECK: ^
// This test is really checking that we *don't* replace backslashes with slashes
// on non-Windows unless -fms-extensions is passed. It won't fail in this way on
// Windows because the filesystem will interpret the backslash as a directory
// separator.
// UNSUPPORTED: system-windows