Changeset 4a3386b4 for src/tests


Ignore:
Timestamp:
Jan 19, 2017, 2:56:51 PM (8 years ago)
Author:
Thierry Delisle <tdelisle@…>
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.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

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);
    66extern int printf(const char *__restrict __format, ...);
    77volatile const short __x1__CVs_1;
     
    629629}
    630630static 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);
    636636extern int printf(const char *__restrict __format, ...);
    637637static 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);
    66extern int printf(const char *__restrict __format, ...);
    77__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);
    66extern int printf(const char *__restrict __format, ...);
    77extern int __x__i_1 asm ( "xx" );
     
    166166}
    167167static 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);
    173173extern int printf(const char *__restrict __format, ...);
    174174static 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);
    66extern int printf(const char *__restrict __format, ...);
    77volatile const short __x1__CVs_1;
     
    629629}
    630630static 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);
    636636extern int printf(const char *__restrict __format, ...);
    637637static 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);
    66extern int printf(const char *__restrict __format, ...);
    77__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);
    66extern int printf(const char *__restrict __format, ...);
    77extern int __x__i_1 asm ( "xx" );
     
    166166}
    167167static 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);
    173173extern int printf(const char *__restrict __format, ...);
    174174static inline int invoke_main(int argc, char **argv, char **envp);
  • src/tests/coroutine.c

    r765aa76 r4a3386b4  
    11#include <fstream>
    2 #include <threads>
     2#include <coroutines>
    33
    44struct Fibonacci {
     
    1515}
    1616
    17 void co_main(Fibonacci* this) {
     17void main(Fibonacci* this) {
    1818#ifdef MORE_DEBUG
    1919      sout | "Starting main of coroutine " | this | endl;
Note: See TracChangeset for help on using the changeset viewer.