1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
---|---|
2 | // expected-no-diagnostics |
3 | @interface foo |
4 | + (void) cx __attribute__((weak_import)); |
5 | - (void) x __attribute__((weak_import)); |
6 | @end |
7 | |
8 |
1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
---|---|
2 | // expected-no-diagnostics |
3 | @interface foo |
4 | + (void) cx __attribute__((weak_import)); |
5 | - (void) x __attribute__((weak_import)); |
6 | @end |
7 | |
8 |