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
/
varargsstc.d
blob
e040574d5b4de6356e2c5fb12b869ee73a4e0df7
1
/* TEST_OUTPUT:
2
---
3
fail_compilation/varargsstc.d(102): Error: variadic parameter cannot have attributes `out ref`
4
---
5
*/
6
7
#line
100
8
9
int
printf
(
const
(
char
)*,
const scope shared return
...);
10
int
printf
(
const
(
char
)*,
ref out scope immutable shared return
...);