~ubuntu-branches/ubuntu/precise/mesa-lts-quantal/precise-updates

« back to all changes in this revision

Viewing changes to src/glsl/glcpp/tests/065-if-defined-parens.c

  • Committer: Package Import Robot
  • Author(s): Maarten Lankhorst
  • Date: 2012-11-30 20:58:34 UTC
  • Revision ID: package-import@ubuntu.com-20121130205834-gazuvne3fpwlf012
Tags: upstream-9.0
ImportĀ upstreamĀ versionĀ 9.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#if defined(foo)
 
2
failure_1
 
3
#else
 
4
success_1
 
5
#endif
 
6
#define foo
 
7
#if defined ( foo )
 
8
success_2
 
9
#else
 
10
failure_2
 
11
#endif
 
12
#undef foo
 
13
#if defined (foo)
 
14
failure_3
 
15
#else
 
16
success_3
 
17
#endif