repo.or.cz
/
official-gcc
/
constexpr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* semantics.c (finish_non_static_data_member): Call maybe_dummy_object
[official-gcc/constexpr.git]
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
scoped5.C
blob
a4aa7298f2c8c5dc860001d1656850ca9f64ed93
1
// { dg-do compile }
2
3
// Origin: pepeaty@yahoo.com
4
5
// PR c++/10230: ICE while determining if refered non-static member
6
// is from a base type of the current class.
7
8
class A {
9
public:
10
class B {
11
public:
12
int a;
13
};
14
};
15
16
class C {
17
public:
18
void f(void) { sizeof(A::B::a); }
19
};