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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-dev/] [fsf-gcc-snapshot-1-mar-12/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [compat/] [abi/] [bitfield1_x.C] - Blame information for rev 783

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// { dg-options "-w -ansi -pedantic-errors -funsigned-bitfields" }
2
 
3
#include "bitfield1.h"
4
 
5
extern void bitfield1_y (A& a);
6
 
7
void bitfield1_x ()
8
{
9
  A a;
10
 
11
  a.bitS = 1;
12
  a.bitU = 1;
13
  a.bit = 1;
14
 
15
  bitfield1_y (a);
16
}

powered by: WebSVN 2.1.0

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