diff options
Diffstat (limited to 'tests/preprocessor/file-identity')
| -rw-r--r-- | tests/preprocessor/file-identity/b.h | 7 | ||||
| -rw-r--r-- | tests/preprocessor/file-identity/c.h | 7 |
2 files changed, 10 insertions, 4 deletions
diff --git a/tests/preprocessor/file-identity/b.h b/tests/preprocessor/file-identity/b.h index ba131c653..c6b731349 100644 --- a/tests/preprocessor/file-identity/b.h +++ b/tests/preprocessor/file-identity/b.h @@ -3,9 +3,12 @@ #include "c.h" #ifdef B_H -# error "Shouldn't be included twice" +#error "Shouldn't be included twice" #endif #define B_H -float foo(float x) { return x; }
\ No newline at end of file +float foo(float x) +{ + return x; +}
\ No newline at end of file diff --git a/tests/preprocessor/file-identity/c.h b/tests/preprocessor/file-identity/c.h index eb6cd1c42..bb8e1c698 100644 --- a/tests/preprocessor/file-identity/c.h +++ b/tests/preprocessor/file-identity/c.h @@ -3,9 +3,12 @@ #include "b.h" #ifdef C_H -# error "c.h shouldn't be included twice" +#error "c.h shouldn't be included twice" #endif #define C_H -float bar(float x) { return x; }
\ No newline at end of file +float bar(float x) +{ + return x; +}
\ No newline at end of file |
