Sign in
llvm
/
llvm-archive
/
67ca873b99b7e631820d261833301c41ad8006b1
/
.
/
llvm-gcc-4.0
/
gcc
/
testsuite
/
g++.dg
/
expr
/
crash2.C
blob: 5379bb159d1b151224e7547da1f501e53da72c8f [
file
] [
log
] [
blame
]
// PR c++/14267
class
foo
{
public
:
static
int
&
x
;
};
int
temp
;
int
&
foo
::
x
=
temp
;
int
main
()
{
int
x
=
3
;
&
foo
::
x
=
x
;
// { dg-error "" }
return
0
;
}