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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [expr/] [cond9.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/27666
2
 
3
struct A { // { dg-message "A" }
4
  A(int); // { dg-message "A" }
5
};
6
 
7
void foo(volatile A a) {
8
  1 ? a : 0; // { dg-error "match|temporary" }
9
  // { dg-message "candidate" "candidate note" { target *-*-* } 8 }
10
  1 ? 0 : a; // { dg-error "match|temporary" }
11
  // { dg-message "candidate" "candidate note" { target *-*-* } 10 }
12
}

powered by: WebSVN 2.1.0

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