run-note-warn.cpp 502 B

12345678910111213141516
  1. // (C) Copyright Beman Dawes 2003.
  2. // See accompanying license for terms and conditions of use.
  3. #include <iostream>
  4. int main()
  5. {
  6. std::cout << "example of output before a <note> line\n";
  7. std::cout << "<note>\n";
  8. std::cout << "example of output after a <note> line\n";
  9. // provoke a compiler warning to make sure <note> takes priority over
  10. // a warning, but neither is lost from status reporting links HTML.
  11. char x = 0xffffffff;
  12. return x ? 0 : 0; // use x to eliminate other warnings
  13. }
粤ICP备19079148号