| commit | f3b5e27feec3161ef1a0d73bec83dd74d3ccc86f | [log] [tgz] | 
|---|---|---|
| author | Sebastian Redl <sebastian.redl@getdesigned.at> | Sat Feb 07 13:06:23 2009 +0000 | 
| committer | Sebastian Redl <sebastian.redl@getdesigned.at> | Sat Feb 07 13:06:23 2009 +0000 | 
| tree | c7074ff7853c57d13232abeb6a1b33e5fef67491 | |
| parent | 1d91dd98ad68f98c5d0b79c41d3a9ffc590e35b7 [diff] [blame] | 
Make const-initialized const integral variables I-C-Es in C++. llvm-svn: 64015
diff --git a/clang/test/SemaCXX/i-c-e-cxx.cpp b/clang/test/SemaCXX/i-c-e-cxx.cpp new file mode 100644 index 0000000..64ffe8b --- /dev/null +++ b/clang/test/SemaCXX/i-c-e-cxx.cpp
@@ -0,0 +1,6 @@ +// RUN: clang -fsyntax-only -verify %s + +// C++-specific tests for integral constant expressions. + +const int c = 10; +int ar[c];