From ec2b103c267a06a66e926f62cd96767b280f5cf5 Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Tue, 2 Jun 2009 17:58:47 +0000 Subject: Import Clang, at r72732. --- test/SemaCXX/i-c-e-cxx.cpp | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/SemaCXX/i-c-e-cxx.cpp (limited to 'test/SemaCXX/i-c-e-cxx.cpp') diff --git a/test/SemaCXX/i-c-e-cxx.cpp b/test/SemaCXX/i-c-e-cxx.cpp new file mode 100644 index 000000000000..32d04e2da40b --- /dev/null +++ b/test/SemaCXX/i-c-e-cxx.cpp @@ -0,0 +1,6 @@ +// RUN: clang-cc -fsyntax-only -verify %s + +// C++-specific tests for integral constant expressions. + +const int c = 10; +int ar[c]; -- cgit v1.3