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