Roll src/third_party/WebKit d10c917:a1123a1 (svn 198729:198730)
[chromium-blink-merge.git] / tools / clang / blink_gc_plugin / tests / destructor_access_finalized_field.txt
blob0470b51a3c7d63966b1de7e181c11799b23ffb7c
1 destructor_access_finalized_field.cpp:18:9: warning: [blink-gc] Finalizer '~HeapObject' accesses potentially finalized field 'm_obj'.
2     bar(m_obj);
3         ^
4 ./destructor_access_finalized_field.h:38:5: note: [blink-gc] Potentially finalized field 'm_obj' declared here:
5     Member<HeapObject> m_obj;
6     ^
7 destructor_access_finalized_field.cpp:19:5: warning: [blink-gc] Finalizer '~HeapObject' accesses potentially finalized field 'm_obj'.
8     m_obj->foo();
9     ^
10 ./destructor_access_finalized_field.h:38:5: note: [blink-gc] Potentially finalized field 'm_obj' declared here:
11     Member<HeapObject> m_obj;
12     ^
13 destructor_access_finalized_field.cpp:20:5: warning: [blink-gc] Finalizer '~HeapObject' accesses potentially finalized field 'm_objs'.
14     m_objs[0];
15     ^
16 ./destructor_access_finalized_field.h:39:5: note: [blink-gc] Potentially finalized field 'm_objs' declared here:
17     Vector<Member<HeapObject> > m_objs;
18     ^
19 3 warnings generated.