aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp1z/class-deduction68.C
blob: a761e70e09c47786bbfaa6e7d6e64af81936d0e8 (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/92593
// { dg-do compile { target c++17 } }

template<int I>
struct ref_view
{
  ref_view(T) { };		// { dg-error "incomplete" }
};

ref_view r{1};			// { dg-error "no match|deduction failed" }