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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [cpp/] [_Pragma1.C] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 301 jeremybenn
// PR c++/27748
2
// This is supposed to succeed only if
3
// the target defines HANDLE_PRAGMA_PACK_PUSH_POP
4
// and doesn't define HANDLE_PRAGMA_PACK_WITH_EXPANSION.
5
// { dg-do compile { target { ! { powerpc-ibm-aix* *-*-solaris2* fido-*-* m68k-*-* sh*-[us]*-elf m32c-*-* *-*-vxworks alpha*-dec-osf* } } } }
6
 
7
#define push bar
8
#define foo _Pragma ("pack(push)")
9
foo
10
int i;
11
#pragma pack(pop)

powered by: WebSVN 2.1.0

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