llvm-for-llvmta/tools/clang/test/Index/targeted-top.h

25 lines
277 B
C
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
#ifndef TARGETED_TOP_H
#define TARGETED_TOP_H
#include "targeted-nested1.h"
enum {
VALUE = 3
};
extern int TopVar;
typedef struct {
int x;
int y;
#include "targeted-fields.h"
} Vector;
static inline int vector_get_x(Vector v) {
int x = v.x;
return x;
}
#endif