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
c++: don't advertise C++20 concepts in C++14
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
expr1.C
blob
701e5a28aeb4e531739e840e5184752a65f9b0a2
1
// { dg-do assemble }
2
// Bug: g++ doesn't figure out what to do.
3
4
struct A {
5
operator char *();
6
};
7
8
char foo(A a)
9
{
10
char c = a[0]; // { dg-bogus "" }
11
return c;
12
}