1! { dg-do compile } 2! { dg-options "-std=f2008" } 3! 4! PR fortran/48820 5! 6intrinsic :: rank ! { dg-error "new in TS 29113" } 7end 8