[flang][cuda] Adapt ExternalNameConversion to work in gpu module (#117039)
[llvm-project.git] / clang / test / AST / ByteCode / crash-GH49103-2.cpp
blob82d78e2aeab0cc9fda31e5c8370da0db7542244c
1 // RUN: %clang_cc1 -verify -std=c++98 %s -fexperimental-new-constant-interpreter
2 // RUN: %clang_cc1 -verify -std=c++11 %s -fexperimental-new-constant-interpreter
3 // RUN: %clang_cc1 -verify -std=c++14 %s -fexperimental-new-constant-interpreter
4 // RUN: %clang_cc1 -verify -std=c++17 %s -fexperimental-new-constant-interpreter
5 // RUN: %clang_cc1 -verify -std=c++20 %s -fexperimental-new-constant-interpreter
6 // RUN: %clang_cc1 -verify -std=c++23 %s -fexperimental-new-constant-interpreter
7 // RUN: %clang_cc1 -verify -std=c++2c %s -fexperimental-new-constant-interpreter
9 // https://github.com/llvm/llvm-project/issues/49103
11 template<class> struct A; // expected-note 0+ {{}}
12 struct S : __make_integer_seq<A, int, 42> { }; // expected-error 0+ {{}}
13 S s;