summaryrefslogtreecommitdiff
path: root/test/Frontend/int128.cpp
blob: 145144a03d619d28b83fe0cbdef47d7341499127 (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %clang_cc1 -x c   -std=gnu99   -dM -E -triple x86_64-pc-linux %s | FileCheck -check-prefix=NO %s
// RUN: %clang_cc1 -x c++ -std=c++11   -dM -E -triple x86_64-pc-linux %s | FileCheck -check-prefix=NO %s
// RUN: %clang_cc1 -x c++ -std=gnu++11 -dM -E -triple i686-pc-linux   %s | FileCheck -check-prefix=NO %s
// RUN: %clang_cc1 -x c++ -std=gnu++11 -dM -E -triple x86_64-pc-linux %s | FileCheck -check-prefix=YES %s
// RUN: %clang_cc1 -x c++ -std=gnu++1y -dM -E -triple x86_64-pc-linux %s | FileCheck -check-prefix=YES %s
// PR23156

// NO-NOT: __GLIBCXX_TYPE_INT_N_0
// NO-NOT: __GLIBCXX_BITSIZE_INT_N_0
// YES-DAG: __GLIBCXX_TYPE_INT_N_0
// YES-DAG: __GLIBCXX_BITSIZE_INT_N_0