| Daniel Dunbar | ffd408a | 2009-03-24 02:24:46 +0000 | [diff] [blame] | 1 | // RUN: clang-cc -fnext-runtime --emit-llvm -o %t %s |
| Daniel Dunbar | b9a21d8 | 2008-09-04 04:36:23 +0000 | [diff] [blame] | 2 | |
| 3 | __attribute__((visibility("hidden"))) | ||||
| 4 | @interface Hidden | ||||
| 5 | +(void) bar; | ||||
| 6 | @end | ||||
| 7 | |||||
| 8 | @implementation Hidden | ||||
| 9 | +(void) bar {} | ||||
| 10 | @end | ||||
| 11 | |||||
| 12 | __attribute__((visibility("default"))) | ||||
| 13 | @interface Default | ||||
| 14 | +(void) bar; | ||||
| 15 | @end | ||||
| 16 | |||||
| 17 | @implementation Default | ||||
| 18 | +(void) bar {} | ||||
| 19 | @end | ||||