summaryrefslogtreecommitdiffstats
path: root/Tests/CompileFeatures/default_dialect.cpp
blob: 8d97926fecb1b3dfcd493d2a0518b07ea57873c6 (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
Outputter<__cplusplus> o;
#  endif
#endif

int main()
{
  return 0;
}