From fb34bafd37e3509d51686ee2a5392d2d8e29d7c5 Mon Sep 17 00:00:00 2001 From: Yong He Date: Fri, 10 Oct 2025 17:31:01 -0700 Subject: Add diagnostic for cyclic #include. (#8679) --- tests/preprocessor/duplicate-include/b.slang | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 tests/preprocessor/duplicate-include/b.slang (limited to 'tests/preprocessor/duplicate-include/b.slang') diff --git a/tests/preprocessor/duplicate-include/b.slang b/tests/preprocessor/duplicate-include/b.slang new file mode 100644 index 000000000..c3769f038 --- /dev/null +++ b/tests/preprocessor/duplicate-include/b.slang @@ -0,0 +1,3 @@ +#pragma once + +int foo() { return 23; } \ No newline at end of file -- cgit v1.2.3