Test that #pragma diagnoistics does not cause problems.
This commit is contained in:
parent
90bac69568
commit
41d9497052
@ -8,10 +8,16 @@
|
||||
|
||||
// RUN: %cling %s | FileCheck %s
|
||||
|
||||
// same test as test_01.c but ensuring the .c file to be processed
|
||||
// Ensure the .c file to be processed
|
||||
// is in the working directory (issue ROOT-6244)
|
||||
// RUN: cd `dirname %s` ; %cling %s | FileCheck %s
|
||||
|
||||
|
||||
#ifdef __clang__
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wpadded"
|
||||
#endif
|
||||
|
||||
extern "C" int printf(const char*,...);
|
||||
|
||||
const char* defaultArgV[] = {"A default argument", "", 0};
|
||||
|
Loading…
Reference in New Issue
Block a user