OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [ext/] [vector5.C] - Rev 154

Go to most recent revision | Compare with Previous | Blame | View Log

// PR c++/30022
// { dg-do compile }

void foo()
{
  int __attribute__((vector_size(8))) v;
  v = 1/v;  // { dg-error "invalid operands of types" }
}

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.