8sa1-gcc/gcc/testsuite/g++.old-deja/g++.mike/warn1.C
Jeff Law 921e5a0eb4 Initial revision
From-SVN: r14840
1997-08-19 01:34:40 -06:00

14 lines
203 B
C

// Build don't link:
// Special g++ Options: -Wall
typedef char * charptr;
char c[]={'A','B','C','D'};
int i=int(&c);
int *pp=&i;
void foo() { }
int main()
{
charptr(*pp)++; // WARNING -
return 0;
}