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
MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail10346.d
blob
304c00d58fba21dd1f67320e154abd68c88d5c76
1
/*
2
TEST_OUTPUT:
3
---
4
fail_compilation/fail10346.d(9): Error: undefined identifier `T`
5
---
6
*/
7
8
struct
Foo
(
T
) {}
9
void
bar
(
T x
,
T
)(
Foo
!
T
) {}
10
void
main
()
11
{
12
Foo
!
int
spam
;
13
bar
!
10
(
spam
);
14
}