Sign in
llvm
/
llvm-archive
/
8a078a762a98ba34ad83dc2c15e5ff2b86792d78
/
.
/
llvm-gcc-4.2
/
llvmgcc42-2326.9
/
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
;
}