teak-llvm/clang/test/Parser/cxx-attributes.cpp
2009-11-25 22:58:06 +00:00

10 lines
252 B
C++

// 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) )) {}
};