PR c++/56973, DR 696 - capture constant variables only as needed.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp1y / pr60391.C
blob7e3570498bcd650792224240b4d9795afd19bdc1
1 // PR c++/60391
2 // { dg-do compile { target c++14 } }
3 // { dg-options "" }
5 namespace N
7   int operator"" _X(auto) {} // { dg-error "invalid" }
10 namespace N {}