blob: 743d9b9ec1f2cf2d0d17a1e1bdae0340d73a8f27 [file] [log] [blame]
// RUN: clang-cc -fsyntax-only -verify %s
class c {
virtual void f1(const char* a, ...)
__attribute__ (( __format__(__printf__,2,3) )) = 0;
virtual void f2(const char* a, ...)
__attribute__ (( __format__(__printf__,2,3) )) {}
};