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 tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
pr85027.C
blob
01b1b291aecd95765e2229875694600499de6118
1
// { dg-do compile }
2
3
// Avoid -pedantic-error default
4
// { dg-options "" }
5
6
struct A { static int a; };
7
8
int t = A::A ? : 0; // { dg-error "cannot resolve" }