From 11111e5733b189127dc2c4934d67693b9bc6e764 Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 6 Dec 2023 12:05:07 -0800 Subject: Support visibility control and default to `internal`. (#3380) * Support visibility control and default to `internal`. * Fix wip. * Fixes. * Fix. * Fix test. * Add legacy language detection and compatibility for existing code. * Add doc. --------- Co-authored-by: Yong He --- tests/bugs/split-nested-types.slang | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'tests/bugs/split-nested-types.slang') diff --git a/tests/bugs/split-nested-types.slang b/tests/bugs/split-nested-types.slang index 3bd4e239f..b9bfb9e62 100644 --- a/tests/bugs/split-nested-types.slang +++ b/tests/bugs/split-nested-types.slang @@ -1,14 +1,14 @@ //TEST_IGNORE_FILE: -struct A { int x; }; +public struct A { public int x; }; -struct B { float y; }; +public struct B { public float y; }; -struct CC { Texture2D t; SamplerState s; }; +public struct CC { public Texture2D t; public SamplerState s; }; -struct M +public struct M { - A a; - B b; - CC c; + public A a; + public B b; + public CC c; }; -- cgit v1.2.3