summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.law/casts3.C
blob: d8ee7daa89fdb721d8e43f6fe05fb0e66e650649 (plain)
1
2
3
4
5
6
7
8
9
// { dg-do assemble  }
// { dg-options "-pedantic-errors" }
// GROUPS passed casts
// casts file
// From: fjh@cs.mu.oz.au
// Message-Id: <9310121939.29641@munta.cs.mu.OZ.AU>
// Subject: should emit diagnostic for `int *p = (void *)0;'
// Date: Wed, 13 Oct 93 5:39:35 EST
        int *p = (void *)0;// { dg-error "" } .*