summaryrefslogtreecommitdiff
path: root/test/libcxx/containers/associative/undef_min_max.pass.cpp
blob: be5e110529e27d72590008a1f91d3a1541c62c7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//===----------------------------------------------------------------------===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#if defined(__GNUC__) || defined(__clang__)
#pragma GCC diagnostic ignored "-W#warnings"
#endif

#define min THIS IS A NASTY MACRO!
#define max THIS IS A NASTY MACRO!

#include <map>

int main() {
  std::map<int, int> m;
  ((void)m);
}