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 (get_priority): Add check for
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
hidden-class1.C
blob
fc71e96fb7f1c0d73e21dd58c8749e0fb2c2beb5
1
// Copyright (C) 2005 Free Software Foundation
2
// Contributed by Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
3
// { dg-do compile }
4
5
class A {
6
friend class B;
7
B *b; // { dg-error "no type|expected" }
8
};