source: tests/bugs/194.cfa @ b81fd95

ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change on this file since b81fd95 was 4d23dd2, checked in by Thierry Delisle <tdelisle@…>, 4 years ago

Added tests cases for some of the opened tickets

  • Property mode set to 100644
File size: 290 bytes
Line 
1// Trac ticket
2// https://cforall.uwaterloo.ca/trac/ticket/194
3
4forall( dtype T | sized(T) ) T * foo( void ) {
5      printf( "foo1\n" );
6        return (T *)0;
7}
8forall( dtype T | sized(T) ) T & foo( void ) {
9        printf( "foo2\n" );
10        return (T &)*(T *)0;
11}
12int main( void ) {
13      int * i = foo();
14}
Note: See TracBrowser for help on using the repository browser.