summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/try_compile/CxxStandardGNU.cxx
blob: ef65e26560459ba285be1519f00a06c1d3677df6 (plain)
1
2
3
4
5
6
7
8
9
10
11
#if __cplusplus != 201103L &&                                                 \
  !(__cplusplus < 201103L && defined(__GXX_EXPERIMENTAL_CXX0X__))
#  error "Not GNU C++ 11 mode!"
#endif
#ifndef __STRICT_ANSI__
#  error "Not GNU C++ strict ANSI!"
#endif
int main()
{
  return 0;
}