Lines Matching defs:il
524 std::initializer_list<int> il; // #cwg1696-il-1
525 haslist1(int i) : il{i, 2, 3} {}
526 // since-cxx11-error@-1 {{backing array for 'std::initializer_list' member 'il' is a temporary object whose lifetime would be shorter than the lifetime of the constructed object}}
527 // since-cxx11-note@#cwg1696-il-1 {{'std::initializer_list' member declared here}}
531 std::initializer_list<int> il; // #cwg1696-il-2
534 haslist2::haslist2() : il{1, 2} {}
535 // since-cxx11-error@-1 {{backing array for 'std::initializer_list' member 'il' is a temporary object whose lifetime would be shorter than the lifetime of the constructed object}}
536 // since-cxx11-note@#cwg1696-il-2 {{'std::initializer_list' member declared here}}
539 std::initializer_list<int> il = {1, 2, 3};
543 // since-cxx11-error@-1 {{backing array for 'std::initializer_list' member 'il' is a temporary object whose lifetime would be shorter than the lifetime of the constructed object}}
545 // since-cxx11-note@#cwg1696-il-4 {{initializing field 'il' with default member initializer}}
546 std::initializer_list<int> il = {1, 2, 3}; // #cwg1696-il-4
551 std::initializer_list<int> il = {1, 2, 3}; // #cwg1696-il-5
553 // since-cxx11-error@-1 {{backing array for 'std::initializer_list' member 'il' is a temporary object whose lifetime would be shorter than the lifetime of the constructed object}}
554 // since-cxx11-note@#cwg1696-il-5 {{nitializing field 'il' with default member initializer}}