Support {} initialization in initializer list (#6216)