Wattributes-10.c: Add -fno-common option on hppa*-*-hpux*.
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.oliva / expr1.C
blob2d6e8f96b8ddcd819975e9516bb1025e27ce4cf5
1 // { dg-do assemble  }
3 // Copyright (C) 1999 Free Software Foundation
5 // by Alexandre Oliva <oliva@dcc.unicamp.br>
6 // simplified from bug report by Tudor Hulubei <tudor.hulubei@ecora.com>
8 // gcc 2.95 reports:
9 // invalid operands `foo' and `int' to binary `operator !='
11 class foo {} bar;
12 int i = void(bar) ? 1 : 0; // { dg-bogus "" "" { xfail *-*-* } }  - operator!= -