diff options
| author | Yong He <yonghe@outlook.com> | 2023-12-06 12:05:07 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-06 12:05:07 -0800 |
| commit | 11111e5733b189127dc2c4934d67693b9bc6e764 (patch) | |
| tree | 0ba84df3e856eb104abec2ecac47242bc70a7b7d /tests/cpu-program/class.slang | |
| parent | fa6d8717d02912697c09f2d7de802723ac6d6e47 (diff) | |
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 <yhe@nvidia.com>
Diffstat (limited to 'tests/cpu-program/class.slang')
| -rw-r--r-- | tests/cpu-program/class.slang | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/cpu-program/class.slang b/tests/cpu-program/class.slang index 1a510118a..8935b157a 100644 --- a/tests/cpu-program/class.slang +++ b/tests/cpu-program/class.slang @@ -13,8 +13,8 @@ class MyClass } } -public __extern_cpp int main() +export __extern_cpp int main() { MyClass obj = new MyClass(); return obj.method(); -}
\ No newline at end of file +} |
