- Timestamp:
- Jul 11, 2016, 5:20:08 PM (9 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 6f72453
- Parents:
- cad355a (diff), deefdc1 (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:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/.expect/extension.txt
rcad355a r919d1ba 1 extern void *malloc(long unsigned int __size); 2 extern void free(void *__ptr); 1 3 extern void abort(void); 2 4 extern int atexit(void (*__func)(void)); 3 5 extern void exit(int __status); 6 extern int printf(const char *__restrict __format, ...); 4 7 __extension__ int __a__i_1; 5 8 __extension__ int __b__i_1; -
src/tests/.expect/gccExtensions.txt
rcad355a r919d1ba 1 extern void *malloc(long unsigned int __size); 2 extern void free(void *__ptr); 1 3 extern void abort(void); 2 4 extern int atexit(void (*__func)(void)); 3 5 extern void exit(int __status); 6 extern int printf(const char *__restrict __format, ...); 4 7 int main(int __argc__i_1, const char **__argv__PPCc_1){ 5 8 asm ( "nop" : : : ); -
src/tests/Makefile.am
rcad355a r919d1ba 11 11 ## Created On : Sun May 31 09:08:15 2015 12 12 ## Last Modified By : Peter A. Buhr 13 ## Last Modified On : Mon Jun 27 14:39:08201614 ## Update Count : 3 413 ## Last Modified On : Sat Jul 9 11:23:24 2016 14 ## Update Count : 35 15 15 ############################################################################### 16 16 17 17 # applies to both programs 18 CFLAGS = -g -Wall -Wno-unused-function # TEMPORARY: does not build with -O218 CFLAGS = -g -Wall -Wno-unused-function @CFA_FLAGS@ # TEMPORARY: does not build with -O2 19 19 CC = @CFA_BINDIR@/cfa 20 20 -
src/tests/Makefile.in
rcad355a r919d1ba 114 114 CFA_BACKEND_CC = @CFA_BACKEND_CC@ 115 115 CFA_BINDIR = @CFA_BINDIR@ 116 CFA_FLAGS = @CFA_FLAGS@ 116 117 CFA_INCDIR = @CFA_INCDIR@ 117 118 CFA_LIBDIR = @CFA_LIBDIR@ … … 119 120 120 121 # applies to both programs 121 CFLAGS = -g -Wall -Wno-unused-function # TEMPORARY: does not build with -O2122 CFLAGS = -g -Wall -Wno-unused-function @CFA_FLAGS@ # TEMPORARY: does not build with -O2 122 123 CPP = @CPP@ 123 124 CPPFLAGS = @CPPFLAGS@ -
src/tests/avltree/avl.h
rcad355a r919d1ba 4 4 extern "C" { 5 5 #define NULL 0 6 void free(void *);7 6 #define assert(cond) if (! (cond)) { printf("Assertion failed: (%s) at %s:%d\n", #cond, __FILE__, __LINE__); abort(); } 8 int printf(const char *, ...);9 7 } 10 8 -
src/tests/avltree/avl1.c
rcad355a r919d1ba 1 1 #include "avl.h" 2 2 // #include "cwrap.h" 3 4 extern "C" {5 void * malloc(long int);6 }7 3 8 4 forall(otype K | Comparable(K), otype V) -
src/tests/avltree/avl_test.c
rcad355a r919d1ba 3 3 4 4 extern "C" { 5 int printf(const char *, ...);6 5 int strcmp(const char *, const char *); 7 6 } -
src/tests/init_once.c
rcad355a r919d1ba 10 10 // Created On : Tue Jun 14 15:43:35 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue Jul 5 16:40:07201613 // Update Count : 212 // Last Modified On : Sat Jul 9 11:30:29 2016 13 // Update Count : 3 14 14 // 15 15 … … 23 23 //*** setup 24 24 extern "C" { 25 typedef unsigned long int size_t;26 25 #define NULL 0 27 26 void * malloc(size_t); 28 27 void free(void *); 29 28 #define assert(cond) if (! (cond)) { printf("Assertion failed: (%s) at %s:%d\n", #cond, __FILE__, __LINE__); abort(); } 30 int printf(const char *, ...);31 29 void *memset(void *s, int c, size_t n); 32 30 }
Note:
See TracChangeset
for help on using the changeset viewer.