summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/expected/oc/50623-extern-c-attribute.m
blob: 1c75268236fb958969bbacb2d5c2ae4d7de2a117 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
struct {
    int foo;
} bar;

extern "C" int *i;
extern "C" {  int *i; }
int *i;
extern "C" NSString *i;
extern "C" {  NSString *i; }
NSString *i;

__attribute__((visibility("default"))) int *i;
__attribute__((visibility("default"))) NSString *i;

#define DEFINE_NOTIFICATION(name) extern "C" __attribute__((visibility("default"))) NSString *const name = @#name;