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