921e5a0eb4
From-SVN: r14840
14 lines
203 B
C
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;
|
|
}
|