comparison gcc/testsuite/g++.dg/concepts/diagnostic8.C @ 19:2b5abeee2509 default tip

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
comparison
equal deleted inserted replaced
18:1830386684a0 19:2b5abeee2509
1 // PR c++/94306
2 // { dg-do compile { target c++2a } }
3
4 template<typename T> struct S { };
5 template<typename T> requires { typename T::type; } struct S<T> { };
6 // { dg-error "missing additional .requires." "" { target *-*-* } .-1 }