URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [tags/] [gnu-src/] [gdb-7.2/] [gdb-7.2-or32-1.0rc1/] [gdb/] [testsuite/] [gdb.cp/] [pr10687.cc] - Rev 341
Compare with Previous | Blame | View Log
class vec2 { public: vec2() { _v[0] = _v[1] = 0; } vec2(int x, int y) { _v[0] = x; _v[1] = y; } static vec2 axis[2]; static vec2 axis6[6]; private: int _v[2]; }; vec2 vec2::axis[2] = { vec2(1,0), vec2(0,1) }; vec2 vec2::axis6[6] = { vec2(1,0), vec2(0,1), vec2(2,0), vec2(0,2), vec2(3,0), vec2(0,3) }; int main(int argc, char*argv[]) { vec2 a; return 0; // marker }