diff --git a/packages/compiler-sfc/__tests__/__snapshots__/compileScript.spec.ts.snap b/packages/compiler-sfc/__tests__/__snapshots__/compileScript.spec.ts.snap
index 47d401eeea7..34385f4476b 100644
--- a/packages/compiler-sfc/__tests__/__snapshots__/compileScript.spec.ts.snap
+++ b/packages/compiler-sfc/__tests__/__snapshots__/compileScript.spec.ts.snap
@@ -1261,6 +1261,21 @@ return () => {}
}"
`;
+exports[`SFC compile
+ `)
+ expect(content).toMatch(`return { a, b, c }`)
+ assertCode(content)
+ })
+
test('should expose top level declarations', () => {
const { content, bindings } = compile(`