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
PR c++/80290
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.law
/
static-mem4.C
blob
4e61c69334c260c865dd32b8cb3c6bf9bdda9e76
1
// { dg-do assemble }
2
// GROUPS passed static-mem
3
struct test {
4
void test_member() {
5
static test& ds = *this; // FIX: static test* ds = this;
6
}
7
};
8
9
10
int main()
11
{
12
test t;
13
}