Clang Project

clang_source_code/test/Frontend/int128.cpp
1// RUN: %clang_cc1 -x c   -std=gnu99   -dM -E -triple x86_64-pc-linux %s | FileCheck -check-prefix=NO %s
2// RUN: %clang_cc1 -x c++ -std=c++11   -dM -E -triple x86_64-pc-linux %s | FileCheck -check-prefix=NO %s
3// RUN: %clang_cc1 -x c++ -std=gnu++11 -dM -E -triple i686-pc-linux   %s | FileCheck -check-prefix=NO %s
4// RUN: %clang_cc1 -x c++ -std=gnu++11 -dM -E -triple x86_64-pc-linux %s | FileCheck -check-prefix=YES %s
5// RUN: %clang_cc1 -x c++ -std=gnu++1y -dM -E -triple x86_64-pc-linux %s | FileCheck -check-prefix=YES %s
6// PR23156
7
8// NO-NOT: __GLIBCXX_TYPE_INT_N_0
9// NO-NOT: __GLIBCXX_BITSIZE_INT_N_0
10// YES-DAG: __GLIBCXX_TYPE_INT_N_0
11// YES-DAG: __GLIBCXX_BITSIZE_INT_N_0
12