From f9900379b4644274f76842dae56ea013fb2abb8f Mon Sep 17 00:00:00 2001 From: Vince Harron Date: Mon, 4 May 2015 06:26:13 +0000 Subject: [PATCH] TestCModules - fixed for gcc Changed restrict keyword to something understood by gcc llvm-svn: 236410 --- lldb/test/lang/c/modules/main.c | 2 +- lldb/test/lldbinline.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lldb/test/lang/c/modules/main.c b/lldb/test/lang/c/modules/main.c index 49fbe5c..2b244bc 100644 --- a/lldb/test/lang/c/modules/main.c +++ b/lldb/test/lang/c/modules/main.c @@ -1,6 +1,6 @@ #include -int printf(const char * restrict format, ...); +int printf(const char * __restrict format, ...); typedef struct { int a; diff --git a/lldb/test/lldbinline.py b/lldb/test/lldbinline.py index 20eb5a0..3a81956a 100644 --- a/lldb/test/lldbinline.py +++ b/lldb/test/lldbinline.py @@ -121,7 +121,6 @@ class InlineTest(TestBase): self.buildDsym() self.do_test() - @expectedFailureGcc #xfail to get buildbot green, test failed with gcc4.8.2 def __test_with_dwarf(self): self.using_dsym = False self.BuildMakefile() -- 2.7.4