Add known-to-fail test case for a static forward declaration