2014-03-12 10:53:12 +08:00
|
|
|
// RUN: not %clang_cc1 -fsyntax-only -triple i686-win32 %s 2>&1 | FileCheck %s
|
2014-03-12 10:26:08 +08:00
|
|
|
|
|
|
|
#include "Inputs\success.h"
|
|
|
|
|
2014-03-12 10:53:12 +08:00
|
|
|
// CHECK: error: 'Inputs\success.h' file not found
|
|
|
|
// CHECK: #include "Inputs\success.h"
|
|
|
|
// CHECK: ^
|
|
|
|
|
2014-05-19 22:52:09 +08:00
|
|
|
// expected to fail on windows as the inclusion would succeed and the
|
|
|
|
// compilation will fail due to the '#error success'.
|
2014-03-12 10:53:12 +08:00
|
|
|
// XFAIL: win32
|
2014-03-12 10:26:08 +08:00
|
|
|
|
2014-03-12 14:16:26 +08:00
|
|
|
// This test may or may not fail since 'Inputs\success.h' is passed
|
2014-05-19 22:52:09 +08:00
|
|
|
// to Win32 APIs on Windows.
|
2014-03-12 14:16:26 +08:00
|
|
|
// REQUIRES: disabled
|