Bläddra i källkod

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

master
Ian Piumarta 2 år sedan
förälder
incheckning
6145288153
4 ändrade filer med 11 tillägg och 0 borttagningar
  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 Visa fil

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

+ 2
- 0
tests/c/00187.c Visa fil

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

+ 3
- 0
tests/c/00189.c Visa fil

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

+ 2
- 0
tests/c/00220.c Visa fil

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

Laddar…
Avbryt
Spara