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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/30274
2
// { dg-do link }
3
 
4
struct S {
5
  bool x : 4;
6
};
7
 
8
S s;
9
 
10
template 
11
void f(T);
12
 
13
template <>
14
void f(bool) {}
15
 
16
int main() {
17
  f(s.x++);
18
  f(++s.x);
19
}

powered by: WebSVN 2.1.0

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