We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 059a771 commit e539092Copy full SHA for e539092
tests/driver.sh
@@ -267,6 +267,12 @@ int main() { return 0; }
267
EOF
268
269
# functions
270
+try_ 0 << EOF
271
+int main(void) {
272
+ return 0;
273
+}
274
+EOF
275
+
276
try_ 55 << EOF
277
int sum(int m, int n) {
278
int acc;
@@ -319,6 +325,14 @@ int main() {
319
325
}
320
326
321
327
328
+try_compile_error << EOF
329
+int main(void v) {}
330
331
332
333
+int main(void, int i) {}
334
335
322
336
# Unreachable declaration should not cause prog seg-falut (prog should leave normally with exit code 0)
323
337
try_ 0 << EOF
324
338
int main()
0 commit comments