Saleem Abdulrasool | bfaec9b | 2014-03-12 02:53:12 +0000 | [diff] [blame] | 1 | // RUN: not %clang_cc1 -fsyntax-only -triple i686-win32 %s 2>&1 | FileCheck %s |
Saleem Abdulrasool | 729b7d3 | 2014-03-12 02:26:08 +0000 | [diff] [blame] | 2 | |
| 3 | #include "Inputs\success.h" |
| 4 | |
Saleem Abdulrasool | bfaec9b | 2014-03-12 02:53:12 +0000 | [diff] [blame] | 5 | // CHECK: error: 'Inputs\success.h' file not found |
| 6 | // CHECK: #include "Inputs\success.h" |
| 7 | // CHECK: ^ |
Saleem Abdulrasool | 729b7d3 | 2014-03-12 02:26:08 +0000 | [diff] [blame] | 8 | |
Aaron Ballman | 857c7fb | 2014-05-19 14:52:09 +0000 | [diff] [blame] | 9 | // expected to fail on windows as the inclusion would succeed and the |
| 10 | // compilation will fail due to the '#error success'. |
Saleem Abdulrasool | bfaec9b | 2014-03-12 02:53:12 +0000 | [diff] [blame] | 11 | // XFAIL: win32 |
| 12 | |
NAKAMURA Takumi | b190186 | 2014-03-12 06:16:26 +0000 | [diff] [blame] | 13 | // This test may or may not fail since 'Inputs\success.h' is passed |
Aaron Ballman | 857c7fb | 2014-05-19 14:52:09 +0000 | [diff] [blame] | 14 | // to Win32 APIs on Windows. |
NAKAMURA Takumi | b190186 | 2014-03-12 06:16:26 +0000 | [diff] [blame] | 15 | // REQUIRES: disabled |