Douglas Gregor | e5a54b6 | 2011-08-30 20:49:19 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -x c++ -emit-pch %S/Inputs/cxx-method.h -o %t |
2 | // RUN: %clang_cc1 -include-pch %t -verify %s | ||||
Argyrios Kyrtzidis | 9bedef6 | 2009-07-14 03:18:53 +0000 | [diff] [blame] | 3 | |
4 | void S::m(int x) { } | ||||
Douglas Gregor | e5a54b6 | 2011-08-30 20:49:19 +0000 | [diff] [blame] | 5 | |
6 | S::operator char *() { return 0; } | ||||
7 | |||||
8 | S::operator const char *() { return 0; } |