diff options
Diffstat (limited to 'tests/ui/rfcs/rfc-2396-target_feature-11/issue-99876.rs')
-rw-r--r-- | tests/ui/rfcs/rfc-2396-target_feature-11/issue-99876.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/rfcs/rfc-2396-target_feature-11/issue-99876.rs b/tests/ui/rfcs/rfc-2396-target_feature-11/issue-99876.rs new file mode 100644 index 000000000..033dcdfc0 --- /dev/null +++ b/tests/ui/rfcs/rfc-2396-target_feature-11/issue-99876.rs @@ -0,0 +1,9 @@ +// check-pass + +#![feature(target_feature_11)] + +struct S<T>(T) +where + [T; (|| {}, 1).1]: Copy; + +fn main() {} |