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
2009-02-03 Andrew Pinski <andrew_pinski@playstation.sony.com>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
expr
/
crash2.C
1
// PR c++/14267
2
3
class foo {
4
public: static int& x;
5
};
6
int temp;
7
int& foo::x=temp;
8
9
int main() {
10
int x = 3;
11
&foo::x = x; // { dg-error "" }
12
return 0;
13
}
14