[gnu.g++.bug] typeof on types

brad%bnrmtl.UUCP@LARRY.MCRCIM.MCGILL.EDU (Brad Fowlow) (01/10/90)

The following variant of Thoms Kunz' example does compile and 
produce SIZE: 4 using g++ 1.36.1 on a Sun 3.

----------------
#include <stream.h>

main()
{
  printf( "SIZE: %d\n", sizeof( typeof( typeof(int[3])* )));
}
----------------
The original version said  typeof(* typeof( int[3] ) ), 
but  ` * int * '  is neither a type nor an expression; 
hence the original syntax error.

brad fowlow