From fd035e6496665b1f1197868e21cb0a4594e8db6e Mon Sep 17 00:00:00 2001 From: rdivacky Date: Tue, 16 Feb 2010 09:31:36 +0000 Subject: Update clang to r96341. --- test/SemaCXX/enum.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/SemaCXX/enum.cpp') diff --git a/test/SemaCXX/enum.cpp b/test/SemaCXX/enum.cpp index 47ae06a..dc4a506 100644 --- a/test/SemaCXX/enum.cpp +++ b/test/SemaCXX/enum.cpp @@ -67,3 +67,7 @@ namespace PR6061 { enum { id }; }; } + +namespace Conditional { + enum a { A }; a x(const enum a x) { return 1?x:A; } +} -- cgit v1.1