// // Cforall Version 1.0.0 Copyright (C) 2018 University of Waterloo // // The contents of this file are covered under the licence agreement in the // file "LICENCE" distributed with Cforall. // // self-assignment.c -- // // Author : Rob Schluntz // Created On : Thu Mar 1 13:53:57 2018 // Last Modified By : Rob Schluntz // Last Modified On : Thu Mar 1 13:53:57 2018 // Update Count : 2 // struct S { int i; }; struct T { S s; }; int main() { int j = 0; S s = { 0 }; T t = { { 0 } }; j = j; s = s; s.i = s.i; t.s.i = t.s.i; } // Local Variables: // // tab-width: 4 // // compile-command: "cfa dtor-early-exit" // // End: //