Prove that non-overloaded function calls using init list arguments work.

llvm-svn: 142144
This commit is contained in:
Sebastian Redl 2011-10-16 18:19:11 +00:00
parent cc152641c0
commit b92a877e31
1 changed files with 5 additions and 0 deletions

View File

@ -31,4 +31,9 @@ namespace integral {
A() : i{1} {}
};
int function_call() {
void takes_int(int);
takes_int({1});
}
}