Dipeptidyl peptidase-4 (DPP-4) inhibitors (maximally indicated dose as per local label).
Subjects, on treatment with stable dose of DPP-4 inhibitors at inclusion, must be willing to discontinue DPP-4 inhibitor treatment at randomisation (with no wash-out).
Renal impairment measured as estimated glomerular filtration rate (eGFR) value of below 30 mL/min/1.73 m\^2 according to Chronic Kidney Disease Epidemiology Collaboration (CKD-EPI) creatinine equation as defined by kidney disease improving global outcomes (KDIGO 2012) classification.
Uncontrolled and potentially unstable diabetic retinopathy or maculopathy. Verified by a fundus examination performed within the past 90 days prior to screening or in the period between screening and randomisation. Pharmacological pupil-dilation is a requirement unless using a digital fundus photography camera specified for non-dilated examination.