view gcc/testsuite/g++.dg/cpp1y/pr85076.C @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents 84e7813d76e9
children
line wrap: on
line source

// PR c++/85076
// { dg-do compile { target c++14 } }

template<typename> struct A*;	// { dg-error "expected unqualified-id before" }

auto a = [](A<auto>) {};	// { dg-error "is not a template|has incomplete type" }