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++/23357
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
expr
/
call2.C
blob
3b7398a8bf79b0318b64398c7fb4838c6dfc0a06
1
// { dg-do compile }
2
3
// Copyright (C) 2003 Free Software Foundation, Inc.
4
// Contributed by Nathan Sidwell 11 Sep 2003 <nathan@codesourcery.com>
5
// Origin: Wolfgang Bangerth <bangerth@dealii.org>
6
// PR c++/12184. ICE
7
8
class C;
9
class D;
10
bool mm(D);
11
12
void g(C& f) {
13
mm(f); // { dg-error "parameter" "" }
14
}