void hi() { int x = 3; }
without the inline and you will get a complaint that hi() is multiply defined at link time. So, one use case.