diff options
Diffstat (limited to 'tests/warn/unresolved-type.h')
-rw-r--r-- | tests/warn/unresolved-type.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/warn/unresolved-type.h b/tests/warn/unresolved-type.h index a31db5ea..d20182c8 100644 --- a/tests/warn/unresolved-type.h +++ b/tests/warn/unresolved-type.h @@ -17,3 +17,7 @@ typedef enum { } TestMyEnum2; // EXPECT:17: Warning: Test: symbol='TestMyEnum2': Unknown namespace for symbol 'MY_ENUM_A' + +/* Stub function here so namespace isn't empty */ +void test_foo (void); + |