// RUN: c-index-test -test-load-source all -comments-xml-schema=%S/../../bindings/xml/comment-xml-schema.rng %s -std=c++11 | FileCheck %s
constexpr int value(float f) { return int(f); }
enum MyEnum {
hexadecimal = 0x10 //!< a
// CHECK: hexadecimal = 0x10
, withSuffix = 1u + 010 //!< b
// CHECK: withSuffix = 1u + 010
#define ARG(x) x
, macroArg = ARG(0x1) //!< c
// CHECK: macroArg = ARG(0x1)
#define MACROCONCAT(x, y) 22##x##y
, macroConcat = MACROCONCAT(3, 2) //!< d
// CHECK: macroConcat = MACROCONCAT(3, 2)
#define MACRO(a,n) = 0x##a##n
, weirdMacros MACRO(2,1) //!< e
// CHECK: weirdMacros = 33
, floatLiteral = value(0.25e3) //!< f
// CHECK: floatLiteral = value(0.25e3)
};