Welcome to mirror list, hosted at ThFree Co, Russian Federation.

attr-sentinel.cpp « SemaCXX « test « clang - github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 56c8f881600b90b2160bf55d329447d9a6aed7f8 (plain)
1
2
3
4
5
6
// RUN: %clang_cc1 -fsyntax-only -verify %s
void f(int, ...) __attribute__((sentinel));

void g() {
  f(1, 2, __null);
}