//===----------------------------------------------------------------------===// // // ΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚThe LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // // priority_queue(); // const_reference top() const; #include #include int main() { std::priority_queue q; q.push(1); assert(q.top() == 1); q.push(3); assert(q.top() == 3); q.push(2); assert(q.top() == 3); }