1 // RUN: %clang_cc1 %s -verify -fopenacc
6 typename
T::type I
; //#ILOC
8 typename
T::type IS
; //#ILOCSERIAL
10 typename
T::type IK
; //#ILOCKERNELS
19 // expected-error@#ILOC{{type 'int' cannot be used prior to '::' because it has no members}}
20 // expected-note@+3{{in instantiation of function template specialization 'Func<int>' requested here}}
21 // expected-error@#ILOCSERIAL{{type 'int' cannot be used prior to '::' because it has no members}}
22 // expected-error@#ILOCKERNELS{{type 'int' cannot be used prior to '::' because it has no members}}