~ubuntu-branches/ubuntu/feisty/unifdef/feisty

« back to all changes in this revision

Viewing changes to tests/small1.c

  • Committer: Bazaar Package Importer
  • Author(s): Bob Proulx
  • Date: 2004-07-03 18:09:39 UTC
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20040703180939-f7bj8405sqvixczk
Tags: upstream-1.0+20030701
ImportĀ upstreamĀ versionĀ 1.0+20030701

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include <stdio.h>
 
2
#include <stdlib.h>
 
3
 
 
4
#ifdef FOO
 
5
int foo() { return 0; }
 
6
#else
 
7
#error FOO not defined
 
8
#endif
 
9
 
 
10
int main()
 
11
{
 
12
  foo();
 
13
}