From ecb7e5c8afe929ee38155db94de6b084ec32a645 Mon Sep 17 00:00:00 2001 From: Roman Divacky Date: Tue, 16 Feb 2010 09:31:36 +0000 Subject: Update clang to r96341. --- test/SemaCXX/comma.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/SemaCXX/comma.cpp (limited to 'test/SemaCXX/comma.cpp') diff --git a/test/SemaCXX/comma.cpp b/test/SemaCXX/comma.cpp new file mode 100644 index 000000000000..79ff7d1cde25 --- /dev/null +++ b/test/SemaCXX/comma.cpp @@ -0,0 +1,8 @@ +// RUN: %clang_cc1 -fsyntax-only -verify %s + +// PR6076 +void f(); +void (&g)() = (void(), f); + +int a[1]; +int (&b)[1] = (void(), a); -- cgit v1.3