mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-24 23:16:05 +00:00

This patch remove the override in AIX target, so the int128 is enabled in 64 bit mode or with ForceEnableInt128. Reviewed By: lkail Differential Revision: https://reviews.llvm.org/D111078
17 lines
402 B
C++
17 lines
402 B
C++
// 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>());
|