YouCompleteMe/cpp/llvm/tools/clang/test/Index/targeted-top.h
Strahinja Val Markovic 1f51a89d39 Adding more llvm/clang files
These were ignored by git accidentally. We want ALL OF THEM since they all came
in the llvm/clang source distribution.
2012-07-05 17:55:45 -07:00

25 lines
277 B
C

#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