Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added basic tests for __FILE__ and __LINE__.
  • Loading branch information
icculus committed Mar 3, 2010
1 parent 020786b commit f14debc
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions unit_tests/preprocessor/output/file-macro
@@ -0,0 +1 @@
__FILE__
1 change: 1 addition & 0 deletions unit_tests/preprocessor/output/file-macro.correct
@@ -0,0 +1 @@
"preprocessor/output/file-macro"
4 changes: 4 additions & 0 deletions unit_tests/preprocessor/output/line-macro
@@ -0,0 +1,4 @@
Line one: __LINE__

Line three: __LINE__

1 change: 1 addition & 0 deletions unit_tests/preprocessor/output/line-macro.correct
@@ -0,0 +1 @@
Line one : 1 Line three : 3

0 comments on commit f14debc

Please sign in to comment.