aboutsummaryrefslogtreecommitdiff
path: root/test/libcxx/containers/associative/undef_min_max.pass.cpp
blob: b108f0ce5736c8d423e2122faa0ae1326e13aba9 (plain) (blame)
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__)
#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);
}