mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
11 lines
225 B
C
11 lines
225 B
C
/* https://issues.dlang.org/show_bug.cgi?id=23029
|
|
*/
|
|
|
|
void print_const(const char*);
|
|
void print(char*);
|
|
int main(){
|
|
(void)_Generic("",
|
|
char*: print,
|
|
const char*: print_const
|
|
)("hello");
|
|
}
|