summaryrefslogtreecommitdiff
path: root/test/SemaCXX/cxx0x-initializer-constructor.cpp
diff options
context:
space:
mode:
authorSebastian Redl <sebastian.redl@getdesigned.at>2011-12-22 18:58:29 +0000
committerSebastian Redl <sebastian.redl@getdesigned.at>2011-12-22 18:58:29 +0000
commit62f13c9e9e87b14c1d387891575ccf5dfac7b673 (patch)
tree268dd5af0a7a0c81abd0b9f5ef051a6f573d6d2e /test/SemaCXX/cxx0x-initializer-constructor.cpp
parent10f04a6267eb07d3be00db1fd0369e1398f5d0a8 (diff)
downloadclang-62f13c9e9e87b14c1d387891575ccf5dfac7b673.tar.gz
Fix a parser bug that prevented it from correctly parsing explicit construct expressoins of the form T{args}.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147155 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaCXX/cxx0x-initializer-constructor.cpp')
-rw-r--r--test/SemaCXX/cxx0x-initializer-constructor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaCXX/cxx0x-initializer-constructor.cpp b/test/SemaCXX/cxx0x-initializer-constructor.cpp
index 7eff4c41aa..c0e5010051 100644
--- a/test/SemaCXX/cxx0x-initializer-constructor.cpp
+++ b/test/SemaCXX/cxx0x-initializer-constructor.cpp
@@ -52,7 +52,7 @@ namespace objects {
}
void inline_init() {
- //(void) C{1, 1.0}; FIXME: inline initialization
+ (void) C{1, 1.0};
(void) new C{1, 1.0};
}