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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-require-visibility "" } */
2
/* { dg-require-dll "" } */
3
 
4
extern void __attribute__((dllimport, visibility("hidden")))
5
  f1(); /* { dg-error "visibility" } */
6
extern void __attribute__((visibility("hidden"), dllimport))
7
  f2(); /* { dg-error "visibility" } */
8
extern void __attribute__((dllexport, visibility("hidden")))
9
  f3(); /* { dg-error "visibility" } */
10
extern void __attribute__((visibility("hidden"), dllexport))
11
  f4(); /* { dg-error "visibility" } */
12
extern void __attribute__((visibility("default"), dllimport))
13
  f5();
14
extern void __attribute__((dllimport, visibility("default")))
15
  f6();
16
extern void __attribute__((visibility("default"), dllexport))
17
  f7();
18
extern void __attribute__((dllexport, visibility("default")))
19
  f8();

powered by: WebSVN 2.1.0

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