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
revised patch from gaby
[official-gcc/constexpr.git]
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
hidden-temp-class1.C
blob
8cdb235e8fcff88d1d7ade12ab65c61f93479650
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
template <class T> friend class B;
7
B<int> *b; // { dg-error "type|expected" }
8
};