aboutsummaryrefslogtreecommitdiff
path: root/clang/test/AST/ast-print-int128.cpp
blob: 8086ea7c751a5797fab979d5b9b830e8de03f171 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// RUN: %clang_cc1 -ast-print -std=c++20 %s -o - -triple x86_64-linux | FileCheck %s
// RUN: %clang_cc1 -ast-print -std=c++20 %s -o - -triple powerpc64-ibm-aix-xcoff | FileCheck %s

template <bool>
struct enable_if {
};

template <__uint128_t x, typename = typename enable_if<x != 0>::type>
void f();

template <__int128_t>
void f();

using T = decltype(f<0>());

// CHECK: using T = decltype(f<0>());