// { dg-do assemble }// GROUPS passed prefix-postfixclass foo {public:operator++ ();// { dg-error "" } no type or storage class};intmain(){
foo x;// This should fall back to calling operator++(), and be an error with// the -pedantic flag.
x++;// { dg-error "" } }