ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
jenkins-sandbox
new-ast
new-ast-unique-expr
pthread-emulation
qualifiedEnum
Last change
on this file since d7a02ae was bf71cfd, checked in by Thierry Delisle <tdelisle@…>, 7 years ago |
Moved up many directories in source
|
-
Property mode
set to
100644
|
File size:
382 bytes
|
Rev | Line | |
---|
[f1e42c1] | 1 | #include "gc.h"
|
---|
| 2 |
|
---|
| 3 | #include <assert.h>
|
---|
| 4 |
|
---|
| 5 | int main(int argc, char *argv[])
|
---|
| 6 | {
|
---|
| 7 | gcpointer(int) test, test1;
|
---|
| 8 |
|
---|
| 9 | if(test != test1) { return 1; }
|
---|
| 10 | if(test == test1) { return 1; }
|
---|
| 11 | // if(test == 0) { return 1; }
|
---|
| 12 | // if(test != 0) { return 1; }
|
---|
| 13 | // if(test) { return 1; }
|
---|
| 14 |
|
---|
| 15 | // *test.internal.ptr = 3;
|
---|
| 16 | // int i = *test;
|
---|
| 17 |
|
---|
| 18 | gcmalloc();
|
---|
| 19 | // test = gcmalloc();
|
---|
| 20 |
|
---|
| 21 | return 0;
|
---|
| 22 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.