xref: /aosp_15_r20/external/clang/test/Lexer/cross-windows-on-linux.cpp (revision 67e74705e28f6214e480b399dd47ea732279e315)
1*67e74705SXin Li // RUN: not %clang_cc1 -fsyntax-only -triple i686-win32 %s 2>&1 | FileCheck %s
2*67e74705SXin Li 
3*67e74705SXin Li #include "Inputs\success.h"
4*67e74705SXin Li 
5*67e74705SXin Li // CHECK: error: 'Inputs\success.h' file not found
6*67e74705SXin Li // CHECK: #include "Inputs\success.h"
7*67e74705SXin Li // CHECK:          ^
8*67e74705SXin Li 
9*67e74705SXin Li // expected to fail on windows as the inclusion would succeed and the
10*67e74705SXin Li // compilation will fail due to the '#error success'.
11*67e74705SXin Li // XFAIL: win32
12*67e74705SXin Li 
13*67e74705SXin Li // This test may or may not fail since 'Inputs\success.h' is passed
14*67e74705SXin Li // to Win32 APIs on Windows.
15*67e74705SXin Li // REQUIRES: disabled
16