source: src/tests/Typeof.c@ f6d4204

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors ctor deferred_resn demangler enum forall-pointer-decay gc_noraii jacob/cs343-translation jenkins-sandbox memory new-ast new-ast-unique-expr new-env no_list persistent-indexer pthread-emulation qualifiedEnum resolv-new with_gc
Last change on this file since f6d4204 was 7ff30d07, checked in by Thierry Delisle <tdelisle@…>, 9 years ago

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

Conflicts:

Makefile.in
aclocal.m4
configure
src/Makefile.in
src/Tests/Context.c
src/driver/Makefile.in
src/examples/Makefile.in
src/examples/ctxts.c
src/examples/esskaykay.c
src/libcfa/Makefile.in

  • Property mode set to 100644
File size: 229 bytes
Line 
1int main() {
2 int *v1;
3 otypeof(v1) v2;
4 otypeof(*v1) v3[4];
5 char *v4[4];
6 otypeof(otypeof(char *)[4]) v5;
7 otypeof (int *) v6;
8 otypeof( int ( int, int p ) ) *v7;
9 otypeof( [int] ( int, int p ) ) *v8;
10}
Note: See TracBrowser for help on using the repository browser.