// Souffle - A Datalog Compiler
// Copyright (c) 2017, The Souffle Developers. All rights reserved
// Licensed under the Universal Permissive License v 1.0 as shown at:
// - https://opensource.org/licenses/UPL
// - <souffle root>/licenses/SOUFFLE-UPL.txt

// Tests valid inlining of negated literals.

.decl a(x: number, y: number) inline
a(1, 2).

.decl b(x:number, y:number)
b(1, 2).
b(2, 3).
b(43, 43).

.decl c(x:number, y:number)
c(x, y) :- b(x, y), !a(x, y).

.output c()
