Changes between Initial Version and Version 1 of Ticket #197
- Timestamp:
- Jul 13, 2020, 8:56:18 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #197 – Description
initial v1 8 8 {{{ 9 9 struct A {}; 10 void ?{}(A& a) { sout | 'A'; } 10 11 struct B { [A, A] elem; }; 12 13 int main() { 14 B b; 15 sout | '\n'; 16 B b1 = b; 17 } 11 18 }}} 19 20 Correct behavior is the program prints two A's twice. Currently on B b1 = b; it prints four times. 12 21 13 22 compile this snippet with -n -P resolver, should find the following (note the "maybe constructed"):