URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [init/] [pr44086.C] - Rev 717
Go to most recent revision | Compare with Previous | Blame | View Log
// PR c++/44086
// { dg-do compile }
struct A
{
int const i : 2; // { dg-message "should be initialized" }
};
void f()
{
A a; // { dg-error "uninitialized const" }
new A; // { dg-error "uninitialized const" }
A();
new A();
}
Go to most recent revision | Compare with Previous | Blame | View Log