1 //===----------------------------------------------------------------------===// 2 // 3 // The LLVM Compiler Infrastructure 4 // 5 // This file is dual licensed under the MIT and the University of Illinois Open 6 // Source Licenses. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 10 #if defined(__GNUC__) || defined(__clang__) 11 #pragma GCC diagnostic ignored "-W#warnings" 12 #endif 13 14 #define min THIS IS A NASTY MACRO! 15 #define max THIS IS A NASTY MACRO! 16 17 #include <map> 18 main()19int main() { 20 std::map<int, int> m; 21 ((void)m); 22 } 23