diff options
Diffstat (limited to 'tests/063.sh')
| -rw-r--r-- | tests/063.sh | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/tests/063.sh b/tests/063.sh deleted file mode 100644 index 4f899ee..0000000 --- a/tests/063.sh +++ /dev/null @@ -1,31 +0,0 @@ -cat <<'EOF' > expected -123 -456 789 -EOF - -test_diff <<'EOF' -#include <stdarg.h> - -int fprintf(); - -struct FILE; -typedef struct FILE FILE; - -extern FILE* stdout; - -int vfprintf(FILE*, const char*, va_list); - -void fatal_error(const char* msg, ...) { - va_list args; - va_start(args, msg); - vfprintf(stdout, msg, args); - va_end(args); - fprintf(stdout, "\n"); -} - -int main() { - fatal_error("%d", 123); - fatal_error("%d %d", 456, 789); - return 0; -} -EOF |
