repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR lto/84212 - -Wno-* does not disable warnings from -flto link stage
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
tc1
/
dr76.C
blob
0859b0c730eacf23127708d915d7194f82af6f02
1
// { dg-do compile }
2
// Origin: Giovanni Bajo <giovannibajo at gcc dot gnu dot org>
3
// DR76: Are const volatile variables considered "constant expressions"?
4
5
volatile const int a = 5;
6
7
template <int> struct K;
8
template struct K<a>; // { dg-error "" }