PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / tc1 / dr76.C
blob0859b0c730eacf23127708d915d7194f82af6f02
1 // { dg-do compile }
2 // Origin: Giovanni Bajo <giovannibajo at gcc dot gnu dot org>
3 // DR76: Are const volatile variables considered "constant expressions"? 
5 volatile const int a = 5;
7 template <int> struct K;
8 template struct K<a>;   // { dg-error "" }