Prove that non-overloaded function calls using init list arguments work.
llvm-svn: 142144
This commit is contained in:
parent
cc152641c0
commit
b92a877e31
|
@ -31,4 +31,9 @@ namespace integral {
|
|||
A() : i{1} {}
|
||||
};
|
||||
|
||||
int function_call() {
|
||||
void takes_int(int);
|
||||
takes_int({1});
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue