summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/input/oc/extern-c-attribute.m
blob: fb84ce736bb122196ac9a7d9e83be30094a98e00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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;