Ver a proveniência

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

master
Ian Piumarta há 2 anos
ascendente
cometimento
6145288153
4 ficheiros alterados com 11 adições e 0 eliminações
  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 Ver ficheiro

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

+ 2
- 0
tests/c/00187.c Ver ficheiro

@ -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 Ver ficheiro

@ -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 Ver ficheiro

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

Carregando…
Cancelar
Guardar