[PATCH] Add test cases for __context__ statement and context attribute
commit8731bb7b2e6229a4fe2234796d0371d01cc22835
authorJosh Triplett <josht@vnet.ibm.com>
Thu, 29 Jun 2006 22:31:04 +0000 (29 15:31 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 5 Jul 2006 22:36:31 +0000 (5 15:36 -0700)
treec3a98c81fa0af0ef2bfea015dd928f90ef680284
parent796a98361abd47d6bf1f2a3868acccc6e0b5ad0f
[PATCH] Add test cases for __context__ statement and context attribute

Add validation/context.c, which includes various test cases for
__context__(...)  and __attribute__((context(...))).  These test cases include
both correct usage, in the functions named good_*, and incorrect usage, in the
functions named warn_*.

Signed-off-by: Josh Triplett <josh@freedesktop.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
validation/context.c [new file with mode: 0644]