1// RUN: %clang_cc1 -fobjc-exceptions -fexceptions -std=c++11 -fblocks -fsyntax-only -verify %s 2 3template<typename...Types> 4void f(Types ...values) { 5 for (id x in values) { } // expected-error {{expression contains unexpanded parameter pack 'values'}} 6 @synchronized(values) { // expected-error {{expression contains unexpanded parameter pack 'values'}} 7 @throw values; // expected-error {{expression contains unexpanded parameter pack 'values'}} 8 } 9} 10