view tools/clang/test/Index/targeted-top.h @ 53:f679cc5126db

include setjmp.h automatically
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Sat, 18 Jan 2014 23:56:19 +0900
parents 95c75e76d11b
children
line wrap: on
line source


#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