1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -fms-extensions -triple i386-unknown-unknown -x c++-header -emit-pch -o %t %S/cxx-ms-function-specialization-class-scope.h 2*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -fms-extensions -triple i386-unknown-unknown -include-pch %t -fsyntax-only -verify %s 3*f4a2713aSLionel Sambuc // expected-no-diagnostics 4*f4a2713aSLionel Sambuc 5*f4a2713aSLionel Sambuc test2()6*f4a2713aSLionel Sambucvoid test2() 7*f4a2713aSLionel Sambuc { 8*f4a2713aSLionel Sambuc B<char> b(3); 9*f4a2713aSLionel Sambuc char* ptr; 10*f4a2713aSLionel Sambuc b.f(ptr); 11*f4a2713aSLionel Sambuc b.f<int>(99); 12*f4a2713aSLionel Sambuc b.f(100); 13*f4a2713aSLionel Sambuc } 14*f4a2713aSLionel Sambuc 15