ADT
arm-eh
ast-experimental
cleanup-dtors
enum
forall-pointer-decay
jacob/cs343-translation
jenkins-sandbox
new-ast
new-ast-unique-expr
pthread-emulation
qualifiedEnum
|
Last change
on this file since 386e710 was bf71cfd, checked in by Thierry Delisle <tdelisle@…>, 7 years ago |
|
Moved up many directories in source
|
-
Property mode
set to
100644
|
|
File size:
229 bytes
|
| Line | |
|---|
| 1 | #include <stddef.h>
|
|---|
| 2 | #include <stdint.h>
|
|---|
| 3 |
|
|---|
| 4 | #include "push_back.h"
|
|---|
| 5 |
|
|---|
| 6 | typedef vector(intptr_t*, heap_allocator(intptr_t*)) worklist_t;
|
|---|
| 7 |
|
|---|
| 8 | void test()
|
|---|
| 9 | {
|
|---|
| 10 | worklist_t w;
|
|---|
| 11 | if(!empty(&w))
|
|---|
| 12 | {
|
|---|
| 13 | intptr_t zero = 0;
|
|---|
| 14 | push_back(&w, &zero);
|
|---|
| 15 | }
|
|---|
| 16 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.