summaryrefslogtreecommitdiff
path: root/clang/test/CXX/conv/conv.prom/p4.cpp
blob: 02a91cd521b4fb97061e7f5b0e2538b23084fbfe (about) (plain)
1
2
3
4
5
6
7
8
9
// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s

enum X : short { A, B };
extern decltype(+A) x;
extern int x;

enum Y : long { C, D };
extern decltype(+C) y;
extern long y;