Mercurial > hg > CbC > CbC_llvm
view clang/test/SemaTemplate/instantiate-expr-6.cpp @ 150:1d019706d866
LLVM10
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 15:10:13 +0900 |
parents | |
children |
line wrap: on
line source
// RUN: %clang_cc1 -std=c++11 -emit-llvm-only %s struct X { template<typename T> static typename T::type g(T t); template<typename T> auto f(T t) -> decltype(g(t)); void f(...); }; void test() { X().f(0); X().f(0); }