TestCModules - fixed for gcc

Changed restrict keyword to something understood by gcc

llvm-svn: 236410
This commit is contained in:
Vince Harron 2015-05-04 06:26:13 +00:00
parent f8e6517591
commit f9900379b4
2 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#include <stdlib.h>
int printf(const char * restrict format, ...);
int printf(const char * __restrict format, ...);
typedef struct {
int a;

View File

@ -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()