Sign in
llvm
/
llvm-archive
/
8a078a762a98ba34ad83dc2c15e5ff2b86792d78
/
.
/
llvm-gcc-4.2
/
llvmgcc42-2326.9
/
gcc
/
testsuite
/
g++.dg
/
tc1
/
dr76.C
blob: 0859b0c730eacf23127708d915d7194f82af6f02 [
file
] [
log
] [
blame
]
// { dg-do compile }
// Origin: Giovanni Bajo <giovannibajo at gcc dot gnu dot org>
// DR76: Are const volatile variables considered "constant expressions"?
volatile
const
int
a
=
5
;
template
<int>
struct
K
;
template
struct
K
<a>
;
// { dg-error "" }