浏览代码

Add some typedefs to proceed past non-inclusion of header files.

master
Ian Piumarta 2 年前
父节点
当前提交
6145288153
共有 4 个文件被更改,包括 11 次插入0 次删除
  1. +4
    -0
      tests/c/00104.c
  2. +2
    -0
      tests/c/00187.c
  3. +3
    -0
      tests/c/00189.c
  4. +2
    -0
      tests/c/00220.c

+ 4
- 0
tests/c/00104.c 查看文件

@ -1,5 +1,9 @@
#include <stdint.h>
typedef int int32_t;
typedef long int64_t;
int
main()
{

+ 2
- 0
tests/c/00187.c 查看文件

@ -1,5 +1,7 @@
#include <stdio.h>
typedef struct FILE FILE;
int main()
{
FILE *f = fopen("fred.txt", "w");

+ 3
- 0
tests/c/00189.c 查看文件

@ -1,5 +1,8 @@
#include <stdio.h>
typedef struct FILE FILE;
FILE *stdout;
int fred(int p)
{
printf("yo %d\n", p);

+ 2
- 0
tests/c/00220.c 查看文件

@ -2,6 +2,8 @@
#include <stdio.h>
#include <wchar.h>
typedef int wchar_t;
int main()
{
wchar_t s[] = L"hello$$你好¢¢世界€€world";

正在加载...
取消
保存