blob: edc1b0c397b3c2789fbf97d792941be7f361db8a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// struct-generic-value-param-import.slang
//TEST_IGNORE_FILE:
// This file is used by `struct-generic-value-param.slang`,
// and also incidentally tests that a trailing `;` is optional
// for `struct` decalrations in Slang files, including
// any `import`ed code.
interface IData {}
struct Data<let kCount : int> : IData
{
int state;
[mutating] void doStuff()
{
state++;
}
}
|