[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / AST / ast-print-int128.cpp
blob8086ea7c751a5797fab979d5b9b830e8de03f171
1 // RUN: %clang_cc1 -ast-print -std=c++20 %s -o - -triple x86_64-linux | FileCheck %s
2 // RUN: %clang_cc1 -ast-print -std=c++20 %s -o - -triple powerpc64-ibm-aix-xcoff | FileCheck %s
4 template <bool>
5 struct enable_if {
6 };
8 template <__uint128_t x, typename = typename enable_if<x != 0>::type>
9 void f();
11 template <__int128_t>
12 void f();
14 using T = decltype(f<0>());
16 // CHECK: using T = decltype(f<0>());