summaryrefslogtreecommitdiffstats
path: root/clang/test/Lexer/cross-windows-on-linux.cpp
blob: bd01d476274c1faff8d3ac3fbc453f8943825823 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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:          ^

// expected to fail on windows as the inclusion would success and the
// compilation will fail due to the '#error success'
// XFAIL: win32

// This test may or may not fail since 'Inputs\success.h' is passed
// to Win32 API on win32.
// REQUIRES: disabled
OpenPOWER on IntegriCloud