mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-28 06:32:44 +00:00
12 lines
224 B
C++
12 lines
224 B
C++
void(string) print = #1;
|
|
|
|
void() correct;
|
|
void(string) incorrect;
|
|
|
|
void() correct = {
|
|
print("Hello\n");
|
|
}
|
|
|
|
void() incorrect = {
|
|
printf("The compiler should error about this function having a wrong type\n");
|
|
}
|