cross-windows-on-linux.cpp 480 B

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