Mercurial > hg > CbC > CbC_llvm
annotate clang/test/AST/ast-print-int128.cpp @ 207:2e18cbf3894f
LLVM12
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 08 Jun 2021 06:07:14 +0900 |
parents | |
children | c4bab56944e8 |
rev | line source |
---|---|
207 | 1 // RUN: %clang_cc1 -ast-print -std=c++20 %s -o - -triple x86_64-linux | FileCheck %s |
2 | |
3 template <bool> | |
4 struct enable_if { | |
5 }; | |
6 | |
7 template <__uint128_t x, typename = typename enable_if<x != 0>::type> | |
8 void f(); | |
9 | |
10 template <__int128_t> | |
11 void f(); | |
12 | |
13 using T = decltype(f<0>()); | |
14 | |
15 // CHECK: using T = decltype(f<0>()); |