OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* lib/g++-dg.exp (g++-dg-test): Add "repo" option.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
ref5.C
1
// { dg-do assemble }
2
3
int i;
4
int &const j = i; // { dg-error "" } invalid const
5
int &const f(); // { dg-error "" } invalid const
6
void g ()
7
{
8
j = 1;
9
f() = 1;
10
}