blob: 6ec65b24861810c7ed5bfc2b0e7022fb9fa62cad [file] [log] [blame]
Douglas Gregore5a54b62011-08-30 20:49:19 +00001// RUN: %clang_cc1 -x c++ -emit-pch %S/Inputs/cxx-method.h -o %t
2// RUN: %clang_cc1 -include-pch %t -verify %s
Argyrios Kyrtzidis9bedef62009-07-14 03:18:53 +00003
4void S::m(int x) { }
Douglas Gregore5a54b62011-08-30 20:49:19 +00005
6S::operator char *() { return 0; }
7
8S::operator const char *() { return 0; }