aboutsummaryrefslogtreecommitdiff
path: root/test/Preprocessor/is_target_environment_version.c
blob: e93386013c3ba92a7f53ba7031e0aea84991e364 (plain) (blame)
1
2
3
4
5
6
// RUN: %clang_cc1 -fsyntax-only -triple x86_64-pc-windows-msvc18.0.0 -verify %s
// expected-no-diagnostics

#if !__is_target_environment(msvc)
  #error "mismatching environment"
#endif