From: Sebastian Redl Date: Sun, 16 Oct 2011 18:19:11 +0000 (+0000) Subject: Prove that non-overloaded function calls using init list arguments work. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d12c9f5f8b9b6c123eb3cc6b607797713d90d80b;p=clang 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 --- 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}); + } + }