From d12c9f5f8b9b6c123eb3cc6b607797713d90d80b Mon Sep 17 00:00:00 2001 From: Sebastian Redl Date: Sun, 16 Oct 2011 18:19:11 +0000 Subject: [PATCH] Prove that non-overloaded function calls using init list arguments work. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142144 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/SemaCXX/cxx0x-initializer-scalars.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/SemaCXX/cxx0x-initializer-scalars.cpp b/test/SemaCXX/cxx0x-initializer-scalars.cpp index 41fc219389..e64dd93576 100644 --- a/test/SemaCXX/cxx0x-initializer-scalars.cpp +++ b/test/SemaCXX/cxx0x-initializer-scalars.cpp @@ -31,4 +31,9 @@ namespace integral { A() : i{1} {} }; + int function_call() { + void takes_int(int); + takes_int({1}); + } + }