clang/test/AST/ast-print-int128.cpp
raw| 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 |
| 3 | |
| 4 | template <bool> |
| 5 | struct enable_if { |
| 6 | }; |
| 7 | |
| 8 | template <__uint128_t x, typename = typename enable_if<x != 0>::type> |
| 9 | void f(); |
| 10 | |
| 11 | template <__int128_t> |
| 12 | void f(); |
| 13 | |
| 14 | using T = decltype(f<0>()); |
| 15 | |
| 16 | // CHECK: using T = decltype(f<0>()); |