a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
11 lines
206 B
C#
11 lines
206 B
C#
// CS0211: Cannot take the address of the given expression
|
|
// Line: 7
|
|
// Compiler options: -unsafe
|
|
|
|
class UnsafeClass {
|
|
unsafe UnsafeClass () {
|
|
fixed (int* a = &(2)) {}
|
|
}
|
|
}
|
|
|