summaryrefslogtreecommitdiff
path: root/projects/sample/lib/sample/sample.c
blob: a5ae28091bc45f7fc468730005e344d420666340 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 * File: sample.c
 *
 * Description:
 *  This is a sample source file for a library.  It helps to demonstrate
 *  how to setup a project that uses the LLVM build system, header files,
 *  and libraries.
 */

#include <stdio.h>
#include <stdlib.h>

/* LLVM Header File
#include "llvm/Support/DataTypes.h"
*/

/* Header file global to this project */
#include "sample.h"

int
compute_sample (int a)
{
  return a;
}