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
build: update bootstrap req to C++14
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
test23279.d
blob
43f2d44a071f5945184c1f39df48c5b9a926eba5
1
// https://issues.dlang.org/show_bug.cgi?id=23279
2
3
/*
4
TEST_OUTPUT:
5
---
6
fail_compilation/test23279.d(13): Error: undefined identifier `Sth`
7
---
8
*/
9
10
class
Tester
11
{
12
enum
a
=
__traits
(
hasMember
,
Tester
,
"setIt"
);
13
void
setIt
(
Sth sth
){}
14
}