Skip to content

Commit c94bc58

Browse files
authored
tests: remove _Pragma from cpp keyword syntactic test (souffle-lang#2577)
fixes souffle-lang#2576
1 parent 2eefd33 commit c94bc58

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

tests/syntactic/cpp_keywords/cpp_keywords.dl

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -212,19 +212,12 @@ line(1).
212212
error(1).
213213
.decl pragma(x:number)
214214
pragma(1).
215-
#ifndef _MSC_VER
216-
.decl _Pragma(x:number)
217-
_Pragma(1).
218-
#endif
219215
.decl worked(x:number)
220216
.output worked()
221217
worked(X) :- workaround([X]).
222218
// TODO (#467, #468): the following is a hack to disable stratification as over a hundred subprograms are produced for this test
223219
.type number_record = [ x:number ]
224220
.decl workaround(x:number_record)
225221
workaround([X]) :- alignas(X), alignof(X), asm(X), atomic_cancel(X), atomic_commit(X), atomic_noexcept(X), auto(X), bool(X), break(X), case(X), catch(X), char(X), char16_t(X), char32_t(X), class(X), concept(X), const(X), constexpr(X), const_cast(X), continue(X), decltype(X), default(X), delete(X), do(X), double(X), dynamic_cast(X), enum(X), explicit(X), export(X), extern(X), float(X), for(X), friend(X), goto(X), int(X), import(X), long(X), module(X), mutable(X), namespace(X), new(X), noexcept(X), nullptr(X), operator(X), or(X), private(X), protected(X), public(X), register(X), reinterpret_cast(X), requires(X), return(X), short(X), signed(X), sizeof(X), static(X), static_assert(X), static_cast(X), struct(X), switch(X), synchronized(X), template(X), this(X), thread_local(X), throw(X), try(X), typedef(X), typeid(X), typename(X), union(X), unsigned(X), using(X), virtual(X), void(X), volatile(X), wchar_t(X), while(X), xor(X), compl(X), bitor(X), bitand(X), and_eq(X), or_eq(X), xor_eq(X), not(X), and(X), not_eq(X), override(X), final(X), transaction_safe(X), transaction_safe_dynamic(X), if(X), elif(X), else(X), endif(X), defined(X), ifdef(X), ifndef(X), define(X), undef(X), include(X), line(X), error(X), pragma(X)
226-
#ifndef _MSC_VER
227-
, _Pragma(X)
228-
#endif
229222
.
230223

0 commit comments

Comments
 (0)