source: src/tests/Typeof.c @ ebcd82b

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since ebcd82b was 7ff30d07, checked in by Thierry Delisle <tdelisle@…>, 8 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.