PR modula2/117371: type incompatibility between INTEGER and CARDINAL
[official-gcc.git] / gcc / testsuite / gcc.dg / visibility-13.c
blob5f7a7c7a0d878c878de50d990908aadfdf8cccfa
1 /* { dg-require-visibility "" } */
2 /* { dg-require-dll "" } */
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();