repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
koenig1.C
blob
7273727194c915f527e4201c717c7300e894232f
1
// { dg-do compile }
2
3
// Copyright (C) 2003 Free Software Foundation, Inc.
4
// Contributed by Nathan Sidwell 24 Mar 2003 <nathan@codesourcery.com>
5
6
// PR 10026. We ICE'd
7
8
class X;
9
10
void foo() {
11
X x(1); // { dg-error "incomplete type" "" }
12
bar(x); // { dg-error "not declared" "" }
13
}