- Timestamp:
- Jan 19, 2017, 2:56:51 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 8f49a54
- Parents:
- 765aa76 (diff), c2416d5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- src/tests
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/.expect/32/declarationSpecifier.txt
r765aa76 r4a3386b4 1 extern void *malloc(unsigned int __size);2 extern void free(void *__ptr);3 extern void abort(void);4 extern int atexit(void (*__func)(void));5 extern void exit(int __status);1 __attribute__ ((__malloc__,__nothrow__,__leaf__)) extern void *malloc(unsigned int __size); 2 __attribute__ ((__nothrow__,__leaf__)) extern void free(void *__ptr); 3 __attribute__ ((__noreturn__,__nothrow__,__leaf__)) extern void abort(void); 4 __attribute__ ((__nonnull__(1),__nothrow__,__leaf__)) extern int atexit(void (*__func)(void)); 5 __attribute__ ((__noreturn__,__nothrow__,__leaf__)) extern void exit(int __status); 6 6 extern int printf(const char *__restrict __format, ...); 7 7 volatile const short __x1__CVs_1; … … 629 629 } 630 630 static inline int invoke_main(int argc, char* argv[], char* envp[]) { (void)argc; (void)argv; (void)envp; return __main__Fi_iPPCc__1(argc, argv); } 631 extern void *malloc(unsigned int __size);632 extern void free(void *__ptr);633 extern void abort(void);634 extern int atexit(void (*__func)(void));635 extern void exit(int __status);631 __attribute__ ((__malloc__,__nothrow__,__leaf__)) extern void *malloc(unsigned int __size); 632 __attribute__ ((__nothrow__,__leaf__)) extern void free(void *__ptr); 633 __attribute__ ((__noreturn__,__nothrow__,__leaf__)) extern void abort(void); 634 __attribute__ ((__nonnull__(1),__nothrow__,__leaf__)) extern int atexit(void (*__func)(void)); 635 __attribute__ ((__noreturn__,__nothrow__,__leaf__)) extern void exit(int __status); 636 636 extern int printf(const char *__restrict __format, ...); 637 637 static inline int invoke_main(int argc, char **argv, char **envp); -
src/tests/.expect/32/extension.txt
r765aa76 r4a3386b4 1 extern void *malloc(unsigned int __size);2 extern void free(void *__ptr);3 extern void abort(void);4 extern int atexit(void (*__func)(void));5 extern void exit(int __status);1 __attribute__ ((__malloc__,__nothrow__,__leaf__)) extern void *malloc(unsigned int __size); 2 __attribute__ ((__nothrow__,__leaf__)) extern void free(void *__ptr); 3 __attribute__ ((__noreturn__,__nothrow__,__leaf__)) extern void abort(void); 4 __attribute__ ((__nonnull__(1),__nothrow__,__leaf__)) extern int atexit(void (*__func)(void)); 5 __attribute__ ((__noreturn__,__nothrow__,__leaf__)) extern void exit(int __status); 6 6 extern int printf(const char *__restrict __format, ...); 7 7 __extension__ int __a__i_1; -
src/tests/.expect/32/gccExtensions.txt
r765aa76 r4a3386b4 1 extern void *malloc(unsigned int __size);2 extern void free(void *__ptr);3 extern void abort(void);4 extern int atexit(void (*__func)(void));5 extern void exit(int __status);1 __attribute__ ((__malloc__,__nothrow__,__leaf__)) extern void *malloc(unsigned int __size); 2 __attribute__ ((__nothrow__,__leaf__)) extern void free(void *__ptr); 3 __attribute__ ((__noreturn__,__nothrow__,__leaf__)) extern void abort(void); 4 __attribute__ ((__nonnull__(1),__nothrow__,__leaf__)) extern int atexit(void (*__func)(void)); 5 __attribute__ ((__noreturn__,__nothrow__,__leaf__)) extern void exit(int __status); 6 6 extern int printf(const char *__restrict __format, ...); 7 7 extern int __x__i_1 asm ( "xx" ); … … 166 166 } 167 167 static inline int invoke_main(int argc, char* argv[], char* envp[]) { (void)argc; (void)argv; (void)envp; return __main__Fi_iPPCc__1(argc, argv); } 168 extern void *malloc(unsigned int __size);169 extern void free(void *__ptr);170 extern void abort(void);171 extern int atexit(void (*__func)(void));172 extern void exit(int __status);168 __attribute__ ((__malloc__,__nothrow__,__leaf__)) extern void *malloc(unsigned int __size); 169 __attribute__ ((__nothrow__,__leaf__)) extern void free(void *__ptr); 170 __attribute__ ((__noreturn__,__nothrow__,__leaf__)) extern void abort(void); 171 __attribute__ ((__nonnull__(1),__nothrow__,__leaf__)) extern int atexit(void (*__func)(void)); 172 __attribute__ ((__noreturn__,__nothrow__,__leaf__)) extern void exit(int __status); 173 173 extern int printf(const char *__restrict __format, ...); 174 174 static inline int invoke_main(int argc, char **argv, char **envp); -
src/tests/.expect/64/declarationSpecifier.txt
r765aa76 r4a3386b4 1 extern void *malloc(long unsigned int __size);2 extern void free(void *__ptr);3 extern void abort(void);4 extern int atexit(void (*__func)(void));5 extern void exit(int __status);1 __attribute__ ((__malloc__,__nothrow__,__leaf__)) extern void *malloc(long unsigned int __size); 2 __attribute__ ((__nothrow__,__leaf__)) extern void free(void *__ptr); 3 __attribute__ ((__noreturn__,__nothrow__,__leaf__)) extern void abort(void); 4 __attribute__ ((__nonnull__(1),__nothrow__,__leaf__)) extern int atexit(void (*__func)(void)); 5 __attribute__ ((__noreturn__,__nothrow__,__leaf__)) extern void exit(int __status); 6 6 extern int printf(const char *__restrict __format, ...); 7 7 volatile const short __x1__CVs_1; … … 629 629 } 630 630 static inline int invoke_main(int argc, char* argv[], char* envp[]) { (void)argc; (void)argv; (void)envp; return __main__Fi_iPPCc__1(argc, argv); } 631 extern void *malloc(long unsigned int __size);632 extern void free(void *__ptr);633 extern void abort(void);634 extern int atexit(void (*__func)(void));635 extern void exit(int __status);631 __attribute__ ((__malloc__,__nothrow__,__leaf__)) extern void *malloc(long unsigned int __size); 632 __attribute__ ((__nothrow__,__leaf__)) extern void free(void *__ptr); 633 __attribute__ ((__noreturn__,__nothrow__,__leaf__)) extern void abort(void); 634 __attribute__ ((__nonnull__(1),__nothrow__,__leaf__)) extern int atexit(void (*__func)(void)); 635 __attribute__ ((__noreturn__,__nothrow__,__leaf__)) extern void exit(int __status); 636 636 extern int printf(const char *__restrict __format, ...); 637 637 static inline int invoke_main(int argc, char **argv, char **envp); -
src/tests/.expect/64/extension.txt
r765aa76 r4a3386b4 1 extern void *malloc(long unsigned int __size);2 extern void free(void *__ptr);3 extern void abort(void);4 extern int atexit(void (*__func)(void));5 extern void exit(int __status);1 __attribute__ ((__malloc__,__nothrow__,__leaf__)) extern void *malloc(long unsigned int __size); 2 __attribute__ ((__nothrow__,__leaf__)) extern void free(void *__ptr); 3 __attribute__ ((__noreturn__,__nothrow__,__leaf__)) extern void abort(void); 4 __attribute__ ((__nonnull__(1),__nothrow__,__leaf__)) extern int atexit(void (*__func)(void)); 5 __attribute__ ((__noreturn__,__nothrow__,__leaf__)) extern void exit(int __status); 6 6 extern int printf(const char *__restrict __format, ...); 7 7 __extension__ int __a__i_1; -
src/tests/.expect/64/gccExtensions.txt
r765aa76 r4a3386b4 1 extern void *malloc(long unsigned int __size);2 extern void free(void *__ptr);3 extern void abort(void);4 extern int atexit(void (*__func)(void));5 extern void exit(int __status);1 __attribute__ ((__malloc__,__nothrow__,__leaf__)) extern void *malloc(long unsigned int __size); 2 __attribute__ ((__nothrow__,__leaf__)) extern void free(void *__ptr); 3 __attribute__ ((__noreturn__,__nothrow__,__leaf__)) extern void abort(void); 4 __attribute__ ((__nonnull__(1),__nothrow__,__leaf__)) extern int atexit(void (*__func)(void)); 5 __attribute__ ((__noreturn__,__nothrow__,__leaf__)) extern void exit(int __status); 6 6 extern int printf(const char *__restrict __format, ...); 7 7 extern int __x__i_1 asm ( "xx" ); … … 166 166 } 167 167 static inline int invoke_main(int argc, char* argv[], char* envp[]) { (void)argc; (void)argv; (void)envp; return __main__Fi_iPPCc__1(argc, argv); } 168 extern void *malloc(long unsigned int __size);169 extern void free(void *__ptr);170 extern void abort(void);171 extern int atexit(void (*__func)(void));172 extern void exit(int __status);168 __attribute__ ((__malloc__,__nothrow__,__leaf__)) extern void *malloc(long unsigned int __size); 169 __attribute__ ((__nothrow__,__leaf__)) extern void free(void *__ptr); 170 __attribute__ ((__noreturn__,__nothrow__,__leaf__)) extern void abort(void); 171 __attribute__ ((__nonnull__(1),__nothrow__,__leaf__)) extern int atexit(void (*__func)(void)); 172 __attribute__ ((__noreturn__,__nothrow__,__leaf__)) extern void exit(int __status); 173 173 extern int printf(const char *__restrict __format, ...); 174 174 static inline int invoke_main(int argc, char **argv, char **envp); -
src/tests/coroutine.c
r765aa76 r4a3386b4 1 1 #include <fstream> 2 #include < threads>2 #include <coroutines> 3 3 4 4 struct Fibonacci { … … 15 15 } 16 16 17 void co_main(Fibonacci* this) {17 void main(Fibonacci* this) { 18 18 #ifdef MORE_DEBUG 19 19 sout | "Starting main of coroutine " | this | endl;
Note: See TracChangeset
for help on using the changeset viewer.