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
d: Merge upstream dmd, druntime 4c18eed967, phobos d945686a4.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
test19193.d
blob
e75d90e5a9266d94b7d053c71294c418d808e238
1
/*
2
REQUIRED_ARGS: -de
3
TEST_OUTPUT:
4
---
5
fail_compilation/test19193.d(13): Deprecation: enum member `test19193.T19193!int.A.b` is deprecated
6
---
7
*/
8
9
// https://issues.dlang.org/show_bug.cgi?id=19193
10
11
void
main
()
12
{
13
cast
(
void
)
T19193
!
int
.
A
.
b
;
14
}
15
16
template
T19193
(
T
)
17
{
18
enum
A
19
{
20
deprecated
b
21
}
22
}