diff --git a/packages/compiler-sfc/__tests__/__snapshots__/compileScript.spec.ts.snap b/packages/compiler-sfc/__tests__/__snapshots__/compileScript.spec.ts.snap
index 9dbe37cc9de..79d598ae6f3 100644
--- a/packages/compiler-sfc/__tests__/__snapshots__/compileScript.spec.ts.snap
+++ b/packages/compiler-sfc/__tests__/__snapshots__/compileScript.spec.ts.snap
@@ -1323,6 +1323,25 @@ return { Foo }
})"
`;
+exports[`SFC compile
+ `
+ )
+ assertCode(content)
+ expect(bindings).toStrictEqual({
+ D: BindingTypes.SETUP_CONST,
+ C: BindingTypes.SETUP_CONST,
+ B: BindingTypes.SETUP_CONST,
+ Foo: BindingTypes.SETUP_CONST
+ })
+ })
+
test('const Enum', () => {
const { content, bindings } = compile(
`