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
Match: Add pattern for `(a ? b : 0) | (a ? 0 : c)` into `a ? b : c` [PR103660]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
crash6.C
blob
b824edda3db4e19591ed0bdcf5ad8114f78a299b
1
// { dg-do compile }
2
3
// Origin: Volker Reichelt <reichelt@gcc.gnu.org>
4
5
// PR c++/18652: ICE redeclaring variable as template.
6
7
int A; // { dg-message "previous declaration" }
8
template<int> struct A; // { dg-error "different kind of" }