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
Sync usage with man page.
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
template
/
error16.C
blob
0da024bc665228cdb7dd46c5d1f8c1689158b334
1
// PR c++/18674
2
3
template <typename I>
4
static void g() {
5
enum I::t a; // { dg-error "" }
6
(void) a;
7
}
8
9
struct B {
10
typedef int t;
11
};
12
13
void h()
14
{
15
g<B>();
16
}