a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
16 lines
220 B
C#
16 lines
220 B
C#
// CS0242: The operation in question is undefined on void pointers
|
|
// Line: 11
|
|
// Compiler options: -unsafe
|
|
|
|
using System;
|
|
|
|
unsafe class ZZ {
|
|
static void Main () {
|
|
void *p = null;
|
|
|
|
if (p [10] == 4)
|
|
return;
|
|
}
|
|
}
|
|
|