view clang/test/AST/ast-print-int128.cpp @ 266:00f31e85ec16 default tip

Added tag current for changeset 31d058e83c98
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 14 Oct 2023 10:13:55 +0900
parents c4bab56944e8
children
line wrap: on
line source

// 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>());