Changeset 6dfed1f for tests/warnings
- Timestamp:
- Feb 20, 2019, 9:59:52 AM (6 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- 96df1329
- Parents:
- 43a5603
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/warnings/self-assignment.cfa
r43a5603 r6dfed1f 9 9 // Author : Rob Schluntz 10 10 // Created On : Thu Mar 1 13:53:57 2018 11 // Last Modified By : Rob Schluntz12 // Last Modified On : Thu Mar 1 13:53:57 201813 // Update Count : 211 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Feb 20 07:56:17 2019 13 // Update Count : 3 14 14 // 15 15 16 16 struct S { 17 17 int i; 18 18 }; 19 19 20 20 struct T { 21 21 S s; 22 22 }; 23 23 24 24 int main() { 25 26 27 25 int j = 0; 26 S s = { 0 }; 27 T t = { { 0 } }; 28 28 29 30 31 32 29 j = j; 30 s = s; 31 s.i = s.i; 32 t.s.i = t.s.i; 33 33 } 34 34
Note: See TracChangeset
for help on using the changeset viewer.