Debian Codegraph @

gcc/testsuite/g++.dg/parse/pr116071.C

raw
1 // PR c++/116071
2 // { dg-options "-std=c++14 -fconcepts" }
3
4 template<class T> struct S { ~S(); };
5 template<class T> S<T>::~S() { }
6
7 template<typename MemPtr>
8 struct result_of;
9
10 template<typename Res, typename Class>
11 struct result_of<Res Class::*>
12 {
13 using type = void;
14 };
15
16 struct thread {
17 void join() { };
18 };