diff options
Diffstat (limited to 'src/tests/tracer.cpp')
| -rw-r--r-- | src/tests/tracer.cpp | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/src/tests/tracer.cpp b/src/tests/tracer.cpp deleted file mode 100644 index 703fa1a..0000000 --- a/src/tests/tracer.cpp +++ /dev/null | |||
| @@ -1,36 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 2007-2011 Xagasoft, All rights reserved. | ||
| 3 | * | ||
| 4 | * This file is part of the libbu++ library and is released under the | ||
| 5 | * terms of the license contained in the file LICENSE. | ||
| 6 | */ | ||
| 7 | |||
| 8 | |||
| 9 | #define BU_TRACE | ||
| 10 | #include "bu/trace.h" | ||
| 11 | |||
| 12 | void doThing3( int x, const char *bob, void *p ) | ||
| 13 | { | ||
| 14 | TRACE( x, bob, p ); | ||
| 15 | } | ||
| 16 | |||
| 17 | void doThing2( int x, const char *bob ) | ||
| 18 | { | ||
| 19 | TRACE( x, bob ); | ||
| 20 | } | ||
| 21 | |||
| 22 | void doThing( int8_t x ) | ||
| 23 | { | ||
| 24 | TRACE( x ); | ||
| 25 | } | ||
| 26 | |||
| 27 | int main( int argc, char *argv[] ) | ||
| 28 | { | ||
| 29 | TRACE( argc, argv ); | ||
| 30 | doThing( 54 ); | ||
| 31 | doThing2( 128, "Hello" ); | ||
| 32 | doThing3( 266, "Goodbye", argv ); | ||
| 33 | |||
| 34 | return 0; | ||
| 35 | } | ||
| 36 | |||
