1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
//===-- divmod.cpp ----------------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
int
main(int argc, char const *argv[])
{
signed long long a = 123456789, b = 12, c = a / b, d = a % b;
unsigned long long e = 123456789, f = 12, g = e / f, h = e % f;
}
|