diff options
Diffstat (limited to 'test/DebugInfo/Inputs/dwarfdump-inl-test.h')
-rw-r--r-- | test/DebugInfo/Inputs/dwarfdump-inl-test.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/DebugInfo/Inputs/dwarfdump-inl-test.h b/test/DebugInfo/Inputs/dwarfdump-inl-test.h new file mode 100644 index 0000000000000..ecc2aaac0994b --- /dev/null +++ b/test/DebugInfo/Inputs/dwarfdump-inl-test.h @@ -0,0 +1,9 @@ +inline int inlined_h() { + volatile int z = 0; + return z; +} + +inline int inlined_g() { + volatile int y = inlined_h(); + return y; +} |