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
* c-common.c (catenate_strings): New.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
nested4.C
blob
02bf354e9bc74413d2e4d49a450dc2536506a684
1
// { dg-do assemble }
2
// From: quipu@ulrik.uio.no
3
// Subject: extern "C" nested class
4
// Date: Fri, 13 Aug 1993 15:33:53 +0200
5
6
extern "C" {
7
struct A {
8
struct B { int j; } *x;
9
};
10
}
11
12
void
13
foo () {
14
A a;
15
struct A::B *b;
16
b = a.x; // { dg-bogus "" } type `B' is not a base type for type `B'
17
}