xref: /llvm-project/clang/test/Frontend/int128.cpp (revision 7996340d9ff4d3ffaed24fbc74d585852a0f1476)
1*7996340dSYaron Keren // RUN: %clang_cc1 -x c   -std=gnu99   -dM -E -triple x86_64-pc-linux %s | FileCheck -check-prefix=NO %s
2*7996340dSYaron Keren // RUN: %clang_cc1 -x c++ -std=c++11   -dM -E -triple x86_64-pc-linux %s | FileCheck -check-prefix=NO %s
3*7996340dSYaron Keren // RUN: %clang_cc1 -x c++ -std=gnu++11 -dM -E -triple i686-pc-linux   %s | FileCheck -check-prefix=NO %s
4*7996340dSYaron Keren // RUN: %clang_cc1 -x c++ -std=gnu++11 -dM -E -triple x86_64-pc-linux %s | FileCheck -check-prefix=YES %s
5*7996340dSYaron Keren // RUN: %clang_cc1 -x c++ -std=gnu++1y -dM -E -triple x86_64-pc-linux %s | FileCheck -check-prefix=YES %s
6*7996340dSYaron Keren // PR23156
7*7996340dSYaron Keren 
8*7996340dSYaron Keren // NO-NOT: __GLIBCXX_TYPE_INT_N_0
9*7996340dSYaron Keren // NO-NOT: __GLIBCXX_BITSIZE_INT_N_0
10*7996340dSYaron Keren // YES-DAG: __GLIBCXX_TYPE_INT_N_0
11*7996340dSYaron Keren // YES-DAG: __GLIBCXX_BITSIZE_INT_N_0
12