commit | 50ff6f3fb567353ac84aa489bedcfdbfb93da458 | [log] [tgz] |
---|---|---|
author | Eli Friedman <eli.friedman@gmail.com> | Wed Aug 20 01:05:41 2008 +0000 |
committer | Eli Friedman <eli.friedman@gmail.com> | Wed Aug 20 01:05:41 2008 +0000 |
tree | 8698e54451420fec80f4914f3cff8b122e5af8cd | |
parent | 9b20376c6cb1b69ced5fe104589aca3990afe180 [diff] [blame] |
Fix test failure on Linux. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55032 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Sema/format-strings.c b/test/Sema/format-strings.c index 2d6e719..ec070a2 100644 --- a/test/Sema/format-strings.c +++ b/test/Sema/format-strings.c
@@ -1,5 +1,8 @@ // RUN: clang -fsyntax-only -verify %s +// Define this to get vasprintf on Linux +#define _GNU_SOURCE + #include <stdio.h> #include <stdarg.h>