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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [visibility-10.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* Test that a definition marked with dllexport has default
2
   visibility.  */
3
/* { dg-require-visibility "" } */
4
/* { dg-require-dll "" } */
5
/* { dg-options "-fvisibility=hidden" } */
6
/* { dg-final { scan-not-hidden "g" } } */
7
/* { dg-final { scan-not-hidden "h" } } */
8
/* { dg-final { scan-not-hidden "k" } } */
9
/* { dg-final { scan-not-hidden "l" } } */
10
 
11
__declspec(dllexport) void g() {}
12
 
13
__declspec(dllexport) void h();
14
void h() {}
15
 
16
__declspec(dllexport) int k;
17
 
18
__declspec(dllexport) extern int l;
19
int l;

powered by: WebSVN 2.1.0

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