summaryrefslogtreecommitdiffstats
path: root/Tests/CompileFeatures/default_dialect.cpp
blob: a2ca268a40ab9a8aa76da797cabb3dd9ae877e52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

template<long l>
struct Outputter;

#if DEFAULT_CXX14
#  if __cplusplus != 201402L
Outputter<__cplusplus> o;
#  endif
#elif DEFAULT_CXX11
#  if __cplusplus != 201103L
Outputter<__cplusplus> o;
#  endif
#else
#  if !DEFAULT_CXX98
#    error Buildsystem error
#  endif
#  if __cplusplus != 199711L && __cplusplus != 1 && !defined(__GXX_EXPERIMENTAL_CXX0X__)
Outputter<__cplusplus> o;
#  endif
#endif

int main()
{
  return 0;
}