17 lines · cpp
1// RUN: %clang_cc1 -ast-print -std=c++20 %s -o - -triple x86_64-linux | FileCheck %s2// RUN: %clang_cc1 -ast-print -std=c++20 %s -o - -triple powerpc64-ibm-aix-xcoff | FileCheck %s3 4template <bool>5struct enable_if {6};7 8template <__uint128_t x, typename = typename enable_if<x != 0>::type>9void f();10 11template <__int128_t>12void f();13 14using T = decltype(f<0>());15 16// CHECK: using T = decltype(f<0>());17