2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / cpp1z / class-deduction23.C
bloba383304667db1ea577ba5b43c005d5021e2079d8
1 // { dg-do compile { target c++17 } }
3 template <class T>
4 struct A
6   A(T);
7 };
9 A a = 42;
10 A *ap = &a;                     // { dg-error "placeholder" }