@@ -217,3 +217,91 @@ module ForLoop =
217217 compilation
218218 |> getCompilation
219219 |> verifyCompilation
220+
221+ // SOURCE=ForLoopSByte.fs SCFLAGS="--optimize+" # ForLoopSByte.fs --optimize+
222+ [<Theory; FileInlineData( " ForLoopSByte.fs" , Realsig= BooleanOptions.True, Optimize= BooleanOptions.True) >]
223+ let ``ForLoopSByte_fs`` compilation =
224+ compilation
225+ |> getCompilation
226+ |> withLangVersionPreview
227+ |> verifyCompilation
228+
229+ // SOURCE=ForLoopByte.fs SCFLAGS="--optimize+" # ForLoopByte.fs --optimize+
230+ [<Theory; FileInlineData( " ForLoopByte.fs" , Realsig= BooleanOptions.True, Optimize= BooleanOptions.True) >]
231+ let ``ForLoopByte_fs`` compilation =
232+ compilation
233+ |> getCompilation
234+ |> withLangVersionPreview
235+ |> verifyCompilation
236+
237+ // SOURCE=ForLoopChar.fs SCFLAGS="--optimize+" # ForLoopChar.fs --optimize+
238+ [<Theory; FileInlineData( " ForLoopChar.fs" , Realsig= BooleanOptions.True, Optimize= BooleanOptions.True) >]
239+ let ``ForLoopChar_fs`` compilation =
240+ compilation
241+ |> getCompilation
242+ |> withLangVersionPreview
243+ |> verifyCompilation
244+
245+ // SOURCE=ForLoopInt16.fs SCFLAGS="--optimize+" # ForLoopInt16.fs --optimize+
246+ [<Theory; FileInlineData( " ForLoopInt16.fs" , Realsig= BooleanOptions.True, Optimize= BooleanOptions.True) >]
247+ let ``ForLoopInt16_fs`` compilation =
248+ compilation
249+ |> getCompilation
250+ |> withLangVersionPreview
251+ |> verifyCompilation
252+
253+ // SOURCE=ForLoopUInt16.fs SCFLAGS="--optimize+" # ForLoopUInt16.fs --optimize+
254+ [<Theory; FileInlineData( " ForLoopUInt16.fs" , Realsig= BooleanOptions.True, Optimize= BooleanOptions.True) >]
255+ let ``ForLoopUInt16_`` compilation =
256+ compilation
257+ |> getCompilation
258+ |> withLangVersionPreview
259+ |> verifyCompilation
260+
261+ // SOURCE=ForLoopInt32.fs SCFLAGS="--optimize+" # ForLoopInt32.fs --optimize+
262+ [<Theory; FileInlineData( " ForLoopInt32.fs" , Realsig= BooleanOptions.True, Optimize= BooleanOptions.True) >]
263+ let ``ForLoopInt32_fs`` compilation =
264+ compilation
265+ |> getCompilation
266+ |> withLangVersionPreview
267+ |> verifyCompilation
268+
269+ // SOURCE=ForLoopUInt32.fs SCFLAGS="--optimize+" # ForLoopUInt32.fs --optimize+
270+ [<Theory; FileInlineData( " ForLoopUInt32.fs" , Realsig= BooleanOptions.True, Optimize= BooleanOptions.True) >]
271+ let ``ForLoopUInt32_fs`` compilation =
272+ compilation
273+ |> getCompilation
274+ |> withLangVersionPreview
275+ |> verifyCompilation
276+
277+ // SOURCE=ForLoopInt64.fs SCFLAGS="--optimize+" # ForLoopInt64.fs --optimize+
278+ [<Theory; FileInlineData( " ForLoopInt64.fs" , Realsig= BooleanOptions.True, Optimize= BooleanOptions.True) >]
279+ let ``ForLoopInt64_fs`` compilation =
280+ compilation
281+ |> getCompilation
282+ |> withLangVersionPreview
283+ |> verifyCompilation
284+
285+ // SOURCE=ForLoopUInt64.fs SCFLAGS="--optimize+" # ForLoopUInt64.fs --optimize+
286+ [<Theory; FileInlineData( " ForLoopUInt64.fs" , Realsig= BooleanOptions.True, Optimize= BooleanOptions.True) >]
287+ let ``ForLoopUInt64_fs`` compilation =
288+ compilation
289+ |> getCompilation
290+ |> withLangVersionPreview
291+ |> verifyCompilation
292+
293+ // SOURCE=ForLoopIntPtr.fs SCFLAGS="--optimize+" # ForLoopIntPtr.fs --optimize+
294+ [<Theory; FileInlineData( " ForLoopIntPtr.fs" , Realsig= BooleanOptions.True, Optimize= BooleanOptions.True) >]
295+ let ``ForLoopIntPtr_fs`` compilation =
296+ compilation
297+ |> getCompilation
298+ |> withLangVersionPreview
299+ |> verifyCompilation
300+
301+ // SOURCE=ForLoopUIntPtr.fs SCFLAGS="--optimize+" # ForLoopUIntPtr.fs --optimize+
302+ [<Theory; FileInlineData( " ForLoopUIntPtr.fs" , Realsig= BooleanOptions.True, Optimize= BooleanOptions.True) >]
303+ let ``ForLoopUIntPtr_fs`` compilation =
304+ compilation
305+ |> getCompilation
306+ |> withLangVersionPreview
307+ |> verifyCompilation
0 commit comments