mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-04-17 22:00:41 +00:00

Changes the default Windows target triple returned by GetHostTriple.cmake from the old environment names (which we wanted to move away from) to newer, normalized ones. This also requires updating all tests to use the new systems names in constraints. Differential Revision: https://reviews.llvm.org/D47381 llvm-svn: 339307
16 lines
487 B
C++
16 lines
487 B
C++
// 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 succeed and the
|
|
// compilation will fail due to the '#error success'.
|
|
// XFAIL: windows-msvc
|
|
|
|
// This test may or may not fail since 'Inputs\success.h' is passed
|
|
// to Win32 APIs on Windows.
|
|
// REQUIRES: disabled
|