Debian Codegraph @

gcc/testsuite/gdc.test/compilable/test22784.d

raw
1 // Issue 22784 - pragma(printf) applies to nested functions
2 // https://issues.dlang.org/show_bug.cgi?id=22784
3
4 import core.stdc.stdarg;
5 extern(C)
6 pragma(printf)
7 void fn(const(char)* fmt, ...)
8 {
9 void inner(){}
10 }