summaryrefslogtreecommitdiff
path: root/test/Sema/varargs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/varargs.cpp')
-rw-r--r--test/Sema/varargs.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/Sema/varargs.cpp b/test/Sema/varargs.cpp
deleted file mode 100644
index 48a7b2fdf103..000000000000
--- a/test/Sema/varargs.cpp
+++ /dev/null
@@ -1,7 +0,0 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s
-
-class string;
-void f(const string& s, ...) { // expected-note {{parameter of type 'const string &' is declared here}}
- __builtin_va_list ap;
- __builtin_va_start(ap, s); // expected-warning {{'va_start' has undefined behavior with reference types}}
-}