opnsense-src/test/SemaCXX/attr-sentinel.cpp

7 lines
121 B
C++
Raw Normal View History

2010-01-01 05:34:51 -05:00
// RUN: %clang_cc1 -fsyntax-only -verify %s
2009-12-01 06:08:04 -05:00
void f(int, ...) __attribute__((sentinel));
void g() {
f(1, 2, __null);
}