Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.law / operators9.C
blob91c4130679bf6d804a4302b2fdbfa701e9d6a734
1 // { dg-do assemble  }
2 // GROUPS passed operators
3 // opr-eq file
4 // Message-Id: <9301141514.AA05925@mi.el.utwente.nl>
5 // From: klamer@mi.el.utwente.nl (Klamer Schutte)
6 // Subject: 2.3.3: failed to detect error
7 // Date: Thu, 14 Jan 93 16:14:21 +0100
9 class B
11 public:
12       operator=(B &); // { dg-error "no type" }
13       // { dg-message "B::operator=|no known conversion" "note" { target *-*-* } .-1 }
16 void
17 test(B &b1, const B &b2)
19         b1 = b2;// { dg-error "const" }